blob: 87e3e5be8854357a21ed06565e8d458e737e975e [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
Abhijeet Dharmapurikar719c96b2013-07-19 11:52:52 -0700287 select KRAIT_REGULATOR
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700288
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -0700289config ARCH_APQ8084
290 bool "APQ8084"
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800291 select ARCH_MSM_KRAITMP
292 select GPIO_MSM_V3
293 select ARM_GIC
294 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700295 select MSM_SCM
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800296 select MSM_GPIOMUX
297 select MULTI_IRQ_HANDLER
298 select MSM_NATIVE_RESTART
299 select MSM_RESTART_V2
300 select MSM_PM8X60 if PM
301 select MAY_HAVE_SPARSE_IRQ
302 select SPARSE_IRQ
303 select REGULATOR
304 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko3a5ae972013-03-08 16:46:29 -0800305 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Laura Abbottb46c18d2013-04-12 09:36:44 -0700306 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Laura Abbott4eafd072013-05-17 17:46:53 -0700307 select MEMORY_HOLE_CARVEOUT
308 select DONT_MAP_HOLE_AFTER_MEMBANK0
Jeff Hugoff3fbd62013-05-21 09:51:05 -0600309 select QMI_ENCDEC
Praveen Chidambaram6593c3d2013-05-30 15:33:15 -0600310 select MSM_SPM_V2
311 select MSM_L2_SPM
312 select MSM_PM8X60 if PM
313 select MSM_RPM_SMD
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800314
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530315config ARCH_MPQ8092
316 bool "MPQ8092"
317 select ARCH_MSM_KRAITMP
318 select GPIO_MSM_V3
319 select ARM_GIC
320 select MULTI_IRQ_HANDLER
321 select CPU_V7
322 select MSM_GPIOMUX
323 select MAY_HAVE_SPARSE_IRQ
324 select SPARSE_IRQ
325 select MSM_NOPM
326
Rohit Vaswani6d7461972013-03-20 19:15:30 -0700327config ARCH_FSM9900
328 bool "FSM9900"
329 select ARCH_MSM_KRAITMP
330 select GPIO_MSM_V3
331 select ARM_GIC
332 select CPU_V7
333 select MSM_SCM
334 select MSM_GPIOMUX
335 select MULTI_IRQ_HANDLER
336 select MSM_PIL
337 select MSM_NATIVE_RESTART
338 select MSM_RESTART_V2
339 select MAY_HAVE_SPARSE_IRQ
340 select SPARSE_IRQ
341 select REGULATOR
342 select ARM_HAS_SG_CHAIN
343 select MSM_RUN_QUEUE_STATS
344 select MSM_NOPM
345
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700346config ARCH_FSM9XXX
347 bool "FSM9XXX"
348 select ARCH_MSM_SCORPION
349 select MSM_VIC
350 select CPU_V7
351 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700352 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530353 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800354 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700355
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700356config ARCH_MSM9615
357 bool "MSM9615"
358 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530359 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700360 select ARCH_MSM_CORTEX_A5
361 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700362 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700363 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700364 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600365 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600366 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700367 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800368 select REGULATOR
369 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530370 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800371 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800372 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700373 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800374 select MSM_QDSP6_APR
375 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800376 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800377 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800378
Taniya Das43bcdd62011-12-02 17:33:27 +0530379config ARCH_MSM8625
380 bool "MSM8625"
381 select ARCH_MSM_CORTEX_A5
382 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700383 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530384 select MSM_GPIOMUX
385 select ARM_GIC
386 select ARCH_MSM_CORTEXMP
387 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530388 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530389 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530390 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530391 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500392 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700393
394config ARCH_MSM9625
395 bool "MSM9625"
396 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700397 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700398 select ARCH_MSM_CORTEX_A5
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700399 select CPU_V7
Abhimanyu Kapur37398ac2013-03-26 14:58:49 -0700400 select MSM_SCM
Jin Hong690e3352012-05-02 09:25:05 -0700401 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600402 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700403 select MSM_NATIVE_RESTART
404 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600405 select MSM_SPM_V2
406 select MSM_PM8X60 if PM
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700407 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700408 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700409 select MAY_HAVE_SPARSE_IRQ
410 select SPARSE_IRQ
Anji Jonnala6f331d32013-06-04 14:56:52 +0530411 select CPU_FREQ_MSM
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700412 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700413 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800414 select MSM_QDSP6_APRV2
415 select MSM_QDSP6V2_CODECS
416 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500417 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800418 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800419 select MEMORY_HOLE_CARVEOUT
Priyanka Mathurdc424552013-02-22 16:30:53 -0800420 select MSM_RPM_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700421
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700422config ARCH_MSMKRYPTON
423 bool "MSMKRYPTON"
424 select ARM_GIC
425 select CPU_V7
426 select MSM_GPIOMUX
427 select MSM_RPM_SMD
428 select MSM_NATIVE_RESTART
429 select MSM_RESTART_V2
430 select MSM_SPM_V2
431 select MSM_PM8X60 if PM
432 select MULTI_IRQ_HANDLER
433 select GPIO_MSM_V3
434 select MAY_HAVE_SPARSE_IRQ
435 select SPARSE_IRQ
mengmeng6cf63692013-07-06 08:16:51 +0800436 select MEMORY_HOLE_CARVEOUT
Jeff Hugo0af48202013-07-12 15:02:52 -0600437 select QMI_ENCDEC
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700438
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800439config ARCH_MSM8610
440 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700441 select ARM_GIC
442 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700443 select ARCH_MSM_CORTEXMP
444 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700445 select MSM_SCM
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700446 select MAY_HAVE_SPARSE_IRQ
447 select SPARSE_IRQ
448 select MULTI_IRQ_HANDLER
Syed Rameez Mustafafe1d1a82013-05-03 14:24:42 -0700449 select ARM_TICKET_LOCKS
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700450 select GPIO_MSM_V3
451 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700452 select MSM_NATIVE_RESTART
453 select MSM_RESTART_V2
Arun Menon7d2f1732013-01-16 15:20:56 -0800454 select MSM_QDSP6_APRV2
455 select MSM_QDSP6V2_CODECS
456 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700457 select QMI_ENCDEC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700458 select MSM_RPM_SMD
459 select MSM_SPM_V2
460 select MSM_L2_SPM
461 select MSM_PM8X60 if PM
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700462 select MEMORY_HOLE_CARVEOUT
463 select DONT_MAP_HOLE_AFTER_MEMBANK0
464 select MSM_BUS_SCALING
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800465 select CPU_FREQ_MSM
466 select CPU_FREQ
Patrick Daly9e3fca92013-01-30 13:53:57 -0800467 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800468 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800469 select ARM_HAS_SG_CHAIN
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700470 select REGULATOR
471 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700472 select MSM_SPM_REGULATOR
Aparna Das258c1722013-03-28 17:20:50 -0700473 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruande543ba2013-03-26 14:52:11 -0700474 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700475 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700476 select MSM_RPM_STATS_LOG
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700477
478config ARCH_MSM8226
479 bool "MSM8226"
480 select ARM_GIC
481 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700482 select ARCH_MSM_CORTEXMP
483 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700484 select MSM_SCM
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700485 select MAY_HAVE_SPARSE_IRQ
486 select SPARSE_IRQ
487 select MULTI_IRQ_HANDLER
Syed Rameez Mustafafe1d1a82013-05-03 14:24:42 -0700488 select ARM_TICKET_LOCKS
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700489 select GPIO_MSM_V3
490 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800491 select MSM_NATIVE_RESTART
492 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800493 select MSM_QDSP6_APRV2
494 select MSM_QDSP6V2_CODECS
495 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700496 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700497 select MSM_RPM_SMD
498 select MSM_SPM_V2
499 select MSM_L2_SPM
500 select MSM_PM8X60 if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800501 select MEMORY_HOLE_CARVEOUT
502 select DONT_MAP_HOLE_AFTER_MEMBANK0
Gagan Mace1ec9522013-02-01 12:10:21 -0700503 select MSM_BUS_SCALING
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700504 select CPU_FREQ_MSM
505 select CPU_FREQ
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700506 select MSM_PIL
507 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800508 select ARM_HAS_SG_CHAIN
David Keitelc0092e12013-03-07 12:09:48 -0800509 select REGULATOR
510 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700511 select MSM_SPM_REGULATOR
Pushkar Joshi1bea8372013-03-06 18:26:37 -0800512 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruan679eaf32013-03-21 13:30:40 -0700513 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700514 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700515 select MSM_RPM_STATS_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700516 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Jay Chokshi4f549942013-05-10 17:52:28 -0700517
518config ARCH_MSMSAMARIUM
519 bool "MSMSAMARIUM"
520 select ARCH_MSM_KRAITMP
521 select GPIO_MSM_V3
522 select ARM_GIC
523 select CPU_V7
524 select MSM_SCM
Vikram Mulukutla55316ee2013-07-03 14:36:56 -0700525 select MSM_PIL
Jay Chokshi4f549942013-05-10 17:52:28 -0700526 select MSM_GPIOMUX
527 select MULTI_IRQ_HANDLER
528 select MSM_SPM_V2
529 select MSM_L2_SPM
530 select MSM_NATIVE_RESTART
531 select MSM_RESTART_V2
532 select MSM_PM8X60 if PM
533 select MAY_HAVE_SPARSE_IRQ
534 select SPARSE_IRQ
535 select ARM_HAS_SG_CHAIN
536 select MSM_RUN_QUEUE_STATS
537 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Jeff Hugo60702002013-06-13 15:25:40 -0600538 select QMI_ENCDEC
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700539endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700540
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700541choice
542 prompt "MSM SoC Revision"
543 default MSM_SOC_REV_NONE
544config MSM_SOC_REV_NONE
545 bool "N/A"
546 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
547 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700548config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700549 bool "Rev. A"
550 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700551endchoice
552
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700553config MSM_KRAIT_TBB_ABORT_HANDLER
554 bool "Krait TBB/TBH data abort handler"
555 depends on ARCH_MSM_KRAIT
556 depends on ARM_THUMB
557 help
558 Certain early samples of the Krait processor may generate data
559 aborts for TBB / TBH instructions that fail their condition code
560 checks. Enabling this option will ignore these erroneous data aborts,
561 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800562
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700563 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700564
565config ARCH_MSM_ARM11
566 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700567
Daniel Walkerbf83de42010-03-16 16:29:44 -0700568config ARCH_MSM_SCORPION
569 bool
570
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700571config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700572 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800573 select ARM_L1_CACHE_SHIFT_6
Daniel Walker46fe5f22010-08-18 11:00:25 -0700574
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700575config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700576 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700577 bool
578
579config ARCH_MSM_SCORPIONMP
580 select ARCH_MSM_SCORPION
581 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530582 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800583 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700584 bool
585
586config ARCH_MSM_KRAITMP
587 select ARCH_MSM_KRAIT
588 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530589 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800590 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700591 bool
592
Taniya Das43bcdd62011-12-02 17:33:27 +0530593config ARCH_MSM_CORTEXMP
594 select MSM_SMP
595 bool
596
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700597config MSM_KRAIT_WFE_FIXUP
598 bool
599
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700600config MSM_RESTART_V2
601 bool
602
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700603config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800604 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700605
606config ARCH_MSM7X27A
607 bool
608 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700609 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530610 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530611 select ARM_GIC
612 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530613 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530614 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500615 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700616
Gregory Beanf9f3d312010-04-30 22:06:50 -0700617config MSM_VIC
618 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700619
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700620config MSM_RPM
621 bool "Resource Power Manager"
622 select MSM_MPM
623
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600624config MSM_RPM_SMD
625 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600626 select MSM_MPM_OF
627 bool "RPM driver using SMD protocol"
628 help
629 RPM is the dedicated hardware engine for managing shared SoC
630 resources. This config adds driver support for using SMD as a
631 transport layer communication with RPM hardware. It also selects
632 the MSM_MPM config that programs the MPM module to monitor interrupts
633 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600634
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700635config MSM_MPM
636 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600637 help
638 MPM is a dedicated hardware resource responsible for entering and
639 waking up from a system wide low power mode. The MPM driver tracks
640 the wakeup interrupts and configures the MPM to monitor the wakeup
641 interrupts when going to a system wide sleep mode.
642
643config MSM_MPM_OF
644 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800645 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600646 help
647 MPM is a dedicated hardware resource responsible for entering and
648 waking up from a system wide low power mode. The MPM driver tracks
649 the wakeup interrupts and configures the MPM to monitor the wakeup
650 interrupts when going to a system wide sleep mode. This config option
651 enables the MPM driver that supports initialization from a device
652 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700653
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800654config MSM_LPM_TEST
655 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800656 depends on MSM_RPM || MSM_RPM_SMD
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800657 depends on MSM_PM8X60
658 help
659 LPM_TEST is a test framework that assists in exercising the low
660 power mode algorithm on MSM targets. This test framework tracks
661 notifications sent during entry/exit of the low power modes and
662 processes them to measure various stats including latency
663 measurement.
664
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700665config MSM_XO
666 bool
667
668config MSM_REMOTE_SPINLOCK_DEKKERS
669 bool
670config MSM_REMOTE_SPINLOCK_SWP
671 bool
672config MSM_REMOTE_SPINLOCK_LDREX
673 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600674config MSM_REMOTE_SPINLOCK_SFPB
675 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700676config MSM_ADM3
677 bool
678
679menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700680
681config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700682 depends on ARCH_MSM7X01A
683 depends on MSM_STACKED_MEMORY
684 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700685 bool "Halibut Board (QCT SURF7201A)"
686 help
687 Support for the Qualcomm SURF7201A eval board.
688
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700689config MACH_MSM7201A_SURF
690 depends on ARCH_MSM7X01A
691 depends on MSM_STACKED_MEMORY
692 default y
693 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700694 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700695 Support for the Qualcomm MSM7201A SURF eval board.
696
697config MACH_MSM7201A_FFA
698 depends on ARCH_MSM7X01A
699 depends on MSM_STACKED_MEMORY
700 default y
701 bool "MSM7201A FFA"
702 help
703 Support for the Qualcomm MSM7201A FFA eval board.
704
705config MACH_TROUT
706 depends on ARCH_MSM7X01A
707 depends on MSM_STACKED_MEMORY
708 default y
709 bool "Trout"
710
711config MACH_MSM7X27_SURF
712 depends on ARCH_MSM7X27
713 depends on !MSM_STACKED_MEMORY
714 default y
715 bool "MSM7x27 SURF"
716 help
717 Support for the Qualcomm MSM7x27 SURF eval board.
718
719config MACH_MSM7X27_FFA
720 depends on ARCH_MSM7X27
721 depends on !MSM_STACKED_MEMORY
722 default y
723 bool "MSM7x27 FFA"
724 help
725 Support for the Qualcomm MSM7x27 FFA eval board.
726
727config MACH_MSM7X27A_RUMI3
728 depends on ARCH_MSM7X27A
729 depends on !MSM_STACKED_MEMORY
730 default y
731 bool "MSM7x27A RUMI3"
732 help
733 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
734
735config MACH_MSM7X27A_SURF
736 depends on ARCH_MSM7X27A
737 depends on !MSM_STACKED_MEMORY
738 default y
739 bool "MSM7x27A SURF"
740 help
741 Support for the Qualcomm MSM7x27A SURF.
742
743config MACH_MSM7X27A_FFA
744 depends on ARCH_MSM7X27A
745 depends on !MSM_STACKED_MEMORY
746 default y
747 bool "MSM7x27A FFA"
748 help
749 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700750
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530751config MACH_MSM7625A_SURF
752 depends on ARCH_MSM7X27A
753 depends on !MSM_STACKED_MEMORY
754 default y
755 bool "MSM7625A SURF"
756 help
757 Support for the Qualcomm MSM7625A SURF.
758
759config MACH_MSM7625A_FFA
760 depends on ARCH_MSM7X27A
761 depends on !MSM_STACKED_MEMORY
762 default y
763 bool "MSM7625A FFA"
764 help
765 Support for the Qualcomm MSM7625A FFA.
766
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530767config MACH_MSM7627A_QRD1
768 depends on ARCH_MSM7X27A
769 depends on !MSM_STACKED_MEMORY
770 default y
771 bool "MSM7627A QRD1"
772 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530773 Support for the Qualcomm MSM7627A Reference Design.
774
775config MACH_MSM7627A_QRD3
776 depends on ARCH_MSM7X27A
777 depends on !MSM_STACKED_MEMORY
778 default y
779 bool "MSM7627A QRD3"
780 help
781 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530782
Taniya Dasc868a2e2012-01-03 10:18:47 +0530783config MACH_MSM7627A_EVB
784 depends on ARCH_MSM7X27A
785 depends on !MSM_STACKED_MEMORY
786 default y
787 bool "MSM7627A EVB"
788 help
789 Support for the Qualcomm MSM7627A Reference Design.
790
Taniya Das43bcdd62011-12-02 17:33:27 +0530791config MACH_MSM8625_RUMI3
792 depends on ARCH_MSM8625
793 depends on !MSM_STACKED_MEMORY
794 default y
795 bool "MSM8625 RUMI3"
796 help
797 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
798
Taniya Dase3027e22012-02-27 16:32:27 +0530799config MACH_MSM8625_SURF
800 depends on ARCH_MSM8625
801 depends on !MSM_STACKED_MEMORY
802 default y
803 bool "MSM8625 SURF"
804 help
805 Support for the Qualcomm MSM8625 SURF.
806
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530807config MACH_MSM8625_FFA
808 depends on ARCH_MSM8625
809 depends on !MSM_STACKED_MEMORY
810 default y
811 bool "MSM8625 FFA"
812 help
813 Support for the Qualcomm MSM8625 FFA.
814
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530815config MACH_MSM8625_EVB
816 depends on ARCH_MSM8625
817 depends on !MSM_STACKED_MEMORY
818 default y
819 bool "MSM8625 EVB"
820 help
821 Support for the Qualcomm MSM8625 Reference Design.
822
Taniya Dasbd096542012-03-15 17:43:45 +0530823config MACH_MSM8625_QRD7
824 depends on ARCH_MSM8625
825 depends on !MSM_STACKED_MEMORY
826 default y
827 bool "MSM8625 QRD7"
828 help
829 Support for the Qualcomm MSM8625 Reference Design.
830
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530831config MACH_MSM8625_EVT
832 depends on ARCH_MSM8625
833 depends on !MSM_STACKED_MEMORY
834 default y
835 bool "MSM8625 EVT"
836 help
837 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700838
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530839config MACH_QRD_SKUD_PRIME
840 depends on ARCH_MSM8625
841 depends on !MSM_STACKED_MEMORY
842 default y
843 bool "MSM8625 SKUD PRIME"
844 help
845 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
846 Add support for a SKUD prime reference design based on MSM8x25
847 chipset. This device is much closer to a phone than regular form
848 factor devices, with new touch, display panel and other hardware
849 configurations.
850
Daniel Walker7b521612010-05-06 12:44:57 -0700851config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700852 depends on ARCH_MSM7X30
853 depends on !MSM_STACKED_MEMORY
854 default y
855 bool "MSM7x30 SURF"
856 help
857 Support for the Qualcomm MSM7x30 SURF eval board.
858
859config MACH_MSM7X30_FFA
860 depends on ARCH_MSM7X30
861 depends on !MSM_STACKED_MEMORY
862 default y
863 bool "MSM7x30 FFA"
864 help
865 Support for the Qualcomm MSM7x30 FFA eval board.
866
867config MACH_MSM7X30_FLUID
868 depends on ARCH_MSM7X30
869 depends on !MSM_STACKED_MEMORY
870 default y
871 bool "MSM7x30 FLUID"
872 help
873 Support for the Qualcomm MSM7x30 FLUID eval board.
874
875config MACH_SAPPHIRE
876 depends on ARCH_MSM7X01A
877 default n
878 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700879
Daniel Walker4ad15e62010-05-06 13:54:17 -0700880config MACH_QSD8X50_SURF
881 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700882 depends on MSM_SOC_REV_NONE
883 depends on MSM_STACKED_MEMORY
884 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700885 bool "QSD8x50 SURF"
886 help
887 Support for the Qualcomm QSD8x50 SURF eval board.
888
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700889config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700890 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700891 depends on MSM_SOC_REV_NONE
892 depends on MSM_STACKED_MEMORY
893 default y
894 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700895 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700896 Support for the Qualcomm QSD8x50 FFA eval board.
897
898config MACH_MSM7X25_SURF
899 depends on ARCH_MSM7X25
900 depends on !MSM_STACKED_MEMORY
901 default y
902 bool "MSM7x25 SURF"
903 help
904 Support for the Qualcomm MSM7x25 SURF eval board.
905
906config MACH_MSM7X25_FFA
907 depends on ARCH_MSM7X25
908 depends on !MSM_STACKED_MEMORY
909 default y
910 bool "MSM7x25 FFA"
911 help
912 Support for the Qualcomm MSM7x25 FFA eval board.
913
914config MACH_MSM8X55_SURF
915 depends on ARCH_MSM7X30
916 depends on !MSM_STACKED_MEMORY
917 default y
918 bool "MSM8X55 SURF"
919 help
920 Support for the Qualcomm MSM8x55 SURF eval board.
921
922config MACH_MSM8X55_FFA
923 depends on ARCH_MSM7X30
924 depends on !MSM_STACKED_MEMORY
925 default y
926 bool "MSM8X55 FFA"
927 help
928 Support for the Qualcomm MSM8x55 FFA eval board.
929
930config MACH_MSM8X55_SVLTE_FFA
931 depends on ARCH_MSM7X30
932 depends on !MSM_STACKED_MEMORY
933 default y
934 bool "MSM8X55 SVLTE FFA"
935 help
936 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
937
938config MACH_MSM8X55_SVLTE_SURF
939 depends on ARCH_MSM7X30
940 depends on !MSM_STACKED_MEMORY
941 default y
942 bool "MSM8X55 SVLTE SURF"
943 help
944 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700945
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700946config MACH_MSM8X60_SURF
947 depends on ARCH_MSM8X60
948 default n
949 bool "MSM8x60 SURF"
950 help
951 Support for the Qualcomm MSM8x60 SURF eval board.
952
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700953config MACH_MSM8X60_FFA
954 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700955 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700956 bool "MSM8x60 FFA"
957 help
958 Support for the Qualcomm MSM8x60 FFA eval board.
959
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700960config MACH_MSM8X60_FLUID
961 depends on ARCH_MSM8X60
962 default n
963 bool "MSM8x60 FLUID"
964 help
965 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
966 8x60 target which has a form factor that is much closer to that
967 of a phone than other targets. It also has a new display and
968 touchscreen controller.
969
970config MACH_MSM8X60_FUSION
971 depends on ARCH_MSM8X60
972 default n
973 bool "MSM8x60 FUSION"
974 help
975 Support for the Qualcomm MSM8x60 Fusion SURF device.
976
977config MACH_MSM8X60_FUSN_FFA
978 depends on ARCH_MSM8X60
979 default n
980 bool "MSM8x60 FUSN FFA"
981 help
982 Support for the Qualcomm MSM8x60 Fusion FFA device.
983
Zhang Chang Kenef05b172011-07-27 15:28:13 -0400984config MACH_MSM8X60_DRAGON
985 depends on ARCH_MSM8X60
986 default n
987 bool "MSM8x60 DRAGON"
988 help
989 Support for the Qualcomm MSM8x60 Dragon board.
990
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700991config MACH_MSM8960_CDP
992 depends on ARCH_MSM8960
993 bool "MSM8960 CDP"
994 help
995 Support for the Qualcomm MSM8960 CDP device.
996
997config MACH_MSM8960_MTP
998 depends on ARCH_MSM8960
999 bool "MSM8960 MTP"
1000 help
1001 Support for the Qualcomm MSM8960 MTP device.
1002
1003config MACH_MSM8960_FLUID
1004 depends on ARCH_MSM8960
1005 bool "MSM8960 FLUID"
1006 help
1007 Support for the Qualcomm MSM8960 FLUID device.
1008
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +03001009config MACH_MSM8960_LIQUID
1010 depends on ARCH_MSM8960
1011 bool "MSM8960 LIQUID"
1012 help
1013 Support for the Qualcomm MSM8960 LIQUID device.
1014
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001015config MACH_MSM8930_CDP
1016 depends on ARCH_MSM8930
1017 bool "MSM8930 CDP"
1018 help
1019 Support for the Qualcomm MSM8930 CDP device.
1020
1021config MACH_MSM8930_MTP
1022 depends on ARCH_MSM8930
1023 bool "MSM8930 MTP"
1024 help
1025 Support for the Qualcomm MSM8930 MTP device.
1026
1027config MACH_MSM8930_FLUID
1028 depends on ARCH_MSM8930
1029 bool "MSM8930 FLUID"
1030 help
1031 Support for the Qualcomm MSM8930 FLUID device.
1032
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -08001033config MACH_MSM8627_CDP
1034 depends on ARCH_MSM8930
1035 bool "MSM8627 CDP"
1036 help
1037 Support for the Qualcomm MSM8627 CDP device.
1038
1039config MACH_MSM8627_MTP
1040 depends on ARCH_MSM8930
1041 bool "MSM8627 MTP"
1042 help
1043 Support for the Qualcomm MSM8627 MTP device.
1044
Rohit Vaswania8e7a832011-09-28 21:00:05 -07001045config MACH_MSM9615_CDP
1046 depends on ARCH_MSM9615
1047 bool "MSM9615 CDP"
1048 help
1049 Support for the Qualcomm MSM9615 CDP device.
1050
1051config MACH_MSM9615_MTP
1052 depends on ARCH_MSM9615
1053 bool "MSM9615 MTP"
1054 help
1055 Support for the Qualcomm MSM9615 MTP device.
1056
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001057config MSM_USE_TSIF1
1058 depends on ARCH_MSM8X60
1059 bool "MSM8x60 use TSIF1"
1060 help
1061 Selects TSIF1 core to be used rather than TSIF0.
1062 The two TSIF cores share the same DM configuration
1063 so they cannot be used simultaneously.
1064
Joel King82b7e3f2012-01-05 10:03:27 -08001065config MACH_APQ8064_CDP
1066 depends on ARCH_APQ8064
1067 bool "APQ8064 CDP"
1068 help
1069 Support for the Qualcomm APQ8064 CDP device.
1070
Rohit Vaswani4375c802013-01-09 13:38:19 -08001071config MACH_FSM8064_EP
1072 depends on ARCH_APQ8064
1073 bool "FSM8064 EP"
1074 help
1075 Support for the Qualcomm FSM8064 EP device.
1076 This board also known as Femto development platform (FDP)
1077 is based on APQ8064 chipset. This board does not support
1078 keyboard, display or multimedia.
1079
Joel King82b7e3f2012-01-05 10:03:27 -08001080config MACH_APQ8064_MTP
1081 depends on ARCH_APQ8064
1082 bool "APQ8064 MTP"
1083 help
1084 Support for the Qualcomm APQ8064 MTP device.
1085
1086config MACH_APQ8064_LIQUID
1087 depends on ARCH_APQ8064
1088 bool "APQ8064 LIQUID"
1089 help
1090 Support for the Qualcomm APQ8064 LIQUID device.
1091
Joel King064bbf82012-04-01 13:23:39 -07001092config MACH_MPQ8064_CDP
1093 depends on ARCH_APQ8064
1094 bool "MPQ8064 CDP"
1095 help
1096 Support for the Qualcomm MPQ8064 CDP device.
1097
Joel King11ca8202012-02-13 16:19:03 -08001098config MACH_MPQ8064_HRD
1099 depends on ARCH_APQ8064
1100 bool "MPQ8064 HRD"
1101 help
1102 Support for the Qualcomm MPQ8064 HRD device.
1103
1104config MACH_MPQ8064_DTV
1105 depends on ARCH_APQ8064
1106 bool "MPQ8064 DTV"
1107 help
1108 Support for the Qualcomm MPQ8064 DTV device.
1109
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001110config MACH_FSM9XXX_SURF
1111 depends on ARCH_FSM9XXX
1112 depends on !MSM_STACKED_MEMORY
1113 default y
1114 bool "FSM9XXX SURF"
1115 help
1116 Support for the Qualcomm FSM9xxx femtocell
1117 chipset based SURF evaluation board and
1118 FFA board.
1119
Daniel Walker4ad15e62010-05-06 13:54:17 -07001120endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001121
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001122config MSM_STACKED_MEMORY
1123 bool "Stacked Memory"
1124 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001125 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001126 This option is used to indicate the presence of on-die stacked
1127 memory. When present this memory bank is used for a high speed
1128 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001129
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001130config PHYS_OFFSET
1131 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001132 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001133 default "0x80200000" if ARCH_APQ8064
1134 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001135 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001136 default "0x00000000" if ARCH_MSM8974
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001137 default "0x00000000" if ARCH_APQ8084
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301138 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa1c99fd32013-03-05 22:11:17 -08001139 default "0x00000000" if ARCH_MSM8226
1140 default "0x00000000" if ARCH_MSM8610
Jay Chokshi4f549942013-05-10 17:52:28 -07001141 default "0x00000000" if ARCH_MSMSAMARIUM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001142 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswani6d7461972013-03-20 19:15:30 -07001143 default "0x00000000" if ARCH_FSM9900
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001144 default "0x00200000" if ARCH_MSM9625
Abhimanyu Kapur38226352013-04-23 17:14:57 -07001145 default "0x00000000" if ARCH_MSMKRYPTON
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001146 default "0x00200000" if !MSM_STACKED_MEMORY
1147 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1148 default "0x20000000" if ARCH_QSD8X50
1149 default "0x40200000" if ARCH_MSM8X60
1150 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001151
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001152config KERNEL_MSM_CONTIG_MEM_REGION
1153 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001154 default y if ARCH_MSM8X60
Laura Abbottc1fa75b2013-04-02 14:29:53 -07001155 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001156 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001157 Enable the in-kernel contiguous memory allocator. Sets up a
1158 region of physically contiguous memory. This memory is
1159 reserved during initialization, and can be used
1160 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001161
1162config KERNEL_PMEM_SMI_REGION
1163 bool "Enable in-kernel PMEM region for SMI"
1164 default y if ARCH_MSM8X60
Laura Abbott0913ebc2013-04-29 12:56:14 -07001165 depends on (ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001166 help
1167 Enable the in-kernel PMEM allocator to use SMI memory.
1168
1169config PMEM_GPU0
1170 bool "Enable PMEM GPU0 region"
1171 default y
Laura Abbott0913ebc2013-04-29 12:56:14 -07001172 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001173 help
1174 Enable the PMEM GPU0 device on SMI Memory.
1175
1176config MSM_AMSS_VERSION
1177 int
1178 default 6210 if MSM_AMSS_VERSION_6210
1179 default 6220 if MSM_AMSS_VERSION_6220
1180 default 6225 if MSM_AMSS_VERSION_6225
1181
1182choice
1183 prompt "AMSS modem firmware version"
1184
1185 default MSM_AMSS_VERSION_6225
1186
1187 config MSM_AMSS_VERSION_6210
1188 bool "6.2.10"
1189
1190 config MSM_AMSS_VERSION_6220
1191 bool "6.2.20"
1192
1193 config MSM_AMSS_VERSION_6225
1194 bool "6.2.20 + New ADSP"
1195endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001196
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001197config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001198 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001199 help
1200 Say Y here if high speed MSM UART is present.
1201
1202config MSM_HAS_DEBUG_UART_HS_V14
1203 bool
1204 select MSM_HAS_DEBUG_UART_HS
1205 help
1206 Say Y here if high speed MSM UART v1.4 is present.
1207
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301208config MSM_DEBUG_UART_PHYS
1209 hex
1210 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1211 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1212 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1213 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1214 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1215 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1216 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1217 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1218
Brian Swetland9e73c842007-11-26 04:12:13 -08001219choice
1220 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001221 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001222
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001223 config DEBUG_MSM_UART1
1224 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301225 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001226 help
1227 Say Y here if you want the debug print routines to direct
1228 their output to the first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001229
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001230 config DEBUG_MSM_UART2
1231 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301232 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001233 help
1234 Say Y here if you want the debug print routines to direct
1235 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001236
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001237 config DEBUG_MSM_UART3
1238 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301239 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001240 help
1241 Say Y here if you want the debug print routines to direct
1242 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001243
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001244 config DEBUG_MSM8660_UART
1245 bool "Kernel low-level debugging messages via MSM 8660 UART"
1246 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001247 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001248 help
1249 Say Y here if you want the debug print routines to direct
1250 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001251
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001252 config DEBUG_MSM8960_UART
1253 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001254 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001255 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001256 help
1257 Say Y here if you want the debug print routines to direct
1258 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001259
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001260 config DEBUG_MSM8930_UART
1261 bool "Kernel low-level debugging messages via MSM 8930 UART"
1262 depends on ARCH_MSM8930 && DEBUG_LL
1263 select MSM_HAS_DEBUG_UART_HS
1264 help
1265 Say Y here if you want the debug print routines to direct
1266 their output to the serial port on MSM 8930 devices.
1267
1268 config DEBUG_APQ8064_UART
1269 bool "Kernel low-level debugging messages via APQ 8064 UART"
1270 depends on ARCH_APQ8064 && DEBUG_LL
1271 select MSM_HAS_DEBUG_UART_HS
1272 help
1273 Say Y here if you want the debug print routines to direct
1274 their output to the serial port on APQ 8064 devices.
1275
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001276 config DEBUG_MSM8974_UART
1277 bool "Kernel low-level debugging messages via MSM 8974 UART"
1278 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001279 select MSM_HAS_DEBUG_UART_HS_V14
1280 help
1281 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001282 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301283
1284 config DEBUG_MPQ8092_UART
1285 bool "Kernel low-level debugging messages via MPQ8092 UART"
1286 depends on ARCH_MPQ8092
1287 select MSM_HAS_DEBUG_UART_HS_V14
1288 help
1289 Say Y here if you want the debug print routines to direct
1290 their output to the serial port on MPQ8092 devices.
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001291
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001292 config DEBUG_APQ8084_UART
1293 bool "Kernel low-level debugging messages via APQ8084 UART"
1294 depends on ARCH_APQ8084
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001295 select MSM_HAS_DEBUG_UART_HS_V14
1296 help
1297 Say Y here if you want the debug print routines to direct
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001298 their output to the serial port on APQ8084 devices.
Stephen Boydb9dedc62013-04-19 15:29:30 -07001299
1300 config DEBUG_MSM9625_UART
1301 bool "Kernel low-level debugging messages via MSM9625 UART"
1302 depends on ARCH_MSM9625
1303 select MSM_HAS_DEBUG_UART_HS_V14
1304 help
1305 Say Y here if you want the debug print routines to direct
1306 their output to the serial port on MSM9625 devices.
Rohit Vaswani6d7461972013-03-20 19:15:30 -07001307
1308 config DEBUG_FSM9900_UART
1309 bool "Kernel low-level debugging messages via FSM9900 UART"
1310 depends on ARCH_FSM9900
1311 select MSM_HAS_DEBUG_UART_HS_V14
1312 help
1313 Say Y here if you want the debug print routines to direct
1314 their output to the serial port on FSM9900 devices.
Jay Chokshi4f549942013-05-10 17:52:28 -07001315
1316 config DEBUG_MSMSAMARIUM_UART
1317 bool "Kernel low-level debugging messages via MSM SAMARIUM UART"
1318 depends on ARCH_MSMSAMARIUM
1319 select MSM_HAS_DEBUG_UART_HS_V14
1320 help
1321 Say Y here if you want the debug print routines to direct
1322 their output to the serial port on MSM SAMARIUM devices.
Subbaraman Narayanamurthy23317302013-06-17 17:09:24 -07001323
1324 config DEBUG_MSM8226_UART
1325 bool "Kernel low-level debugging messages via MSM 8226 UART"
1326 depends on ARCH_MSM8226
1327 select MSM_HAS_DEBUG_UART_HS_V14
1328 help
1329 Say Y here if you want the debug print routines to direct
1330 their output to the serial port on MSM 8226 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001331endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001332
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001333choice
1334 prompt "Default Timer"
1335 default MSM7X00A_USE_GP_TIMER
1336
1337 config MSM7X00A_USE_GP_TIMER
1338 bool "GP Timer"
1339 help
1340 Low resolution timer that allows power collapse from idle.
1341
1342 config MSM7X00A_USE_DG_TIMER
1343 bool "DG Timer"
1344 help
1345 High resolution timer.
1346endchoice
1347
1348choice
1349 prompt "Suspend sleep mode"
1350 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1351 help
1352 Allows overriding the sleep mode used. Leave at power
1353 collapse suspend unless the arm9 image has problems.
1354
1355 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1356 bool "Power collapse suspend"
1357 help
1358 Lowest sleep state. Returns through reset vector.
1359
1360 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1361 bool "Power collapse"
1362 help
1363 Sleep state that returns through reset vector.
1364
1365 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1366 bool "Apps Sleep"
1367
1368 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1369 bool "Ramp down cpu clock and wait for interrupt"
1370
1371 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1372 bool "Wait for interrupt"
1373endchoice
1374
1375config MSM7X00A_SLEEP_MODE
1376 int
1377 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1378 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1379 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1380 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1381 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1382
1383choice
1384 prompt "Idle sleep mode"
1385 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1386 help
1387 Allows overriding the sleep mode used from idle. Leave at power
1388 collapse suspend unless the arm9 image has problems.
1389
1390 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1391 bool "Power collapse suspend"
1392 help
1393 Lowest sleep state. Returns through reset vector.
1394
1395 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1396 bool "Power collapse"
1397 help
1398 Sleep state that returns through reset vector.
1399
1400 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1401 bool "Apps Sleep"
1402
1403 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1404 bool "Ramp down cpu clock and wait for interrupt"
1405
1406 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1407 bool "Wait for interrupt"
1408endchoice
1409
1410config MSM7X00A_IDLE_SLEEP_MODE
1411 int
1412 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1413 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1414 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1415 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1416 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1417
1418config MSM7X00A_IDLE_SLEEP_MIN_TIME
1419 int "Minimum idle time before sleep"
1420 default 20000000
1421 help
1422 Minimum idle time in nanoseconds before entering low power mode.
1423
1424config MSM7X00A_IDLE_SPIN_TIME
1425 int "Idle spin time before cpu ramp down"
1426 default 80000
1427 help
1428 Spin time in nanoseconds before ramping down cpu clock and entering
1429 any low power state.
1430
1431menuconfig MSM_IDLE_STATS
1432 bool "Collect idle statistics"
1433 default y
1434 help
1435 Collect idle statistics and export them in proc/msm_pm_stats.
1436
1437if MSM_IDLE_STATS
1438
1439config MSM_IDLE_STATS_FIRST_BUCKET
1440 int "First bucket time"
1441 default 62500
1442 help
1443 Upper time limit in nanoseconds of first bucket.
1444
1445config MSM_IDLE_STATS_BUCKET_SHIFT
1446 int "Bucket shift"
1447 default 2
1448
1449config MSM_IDLE_STATS_BUCKET_COUNT
1450 int "Bucket count"
1451 default 10
1452
1453config MSM_SUSPEND_STATS_FIRST_BUCKET
1454 int "First bucket time for suspend"
1455 default 1000000000
1456 help
1457 Upper time limit in nanoseconds of first bucket of the
1458 histogram. This is for collecting statistics on suspend.
1459
1460endif # MSM_IDLE_STATS
1461
1462config CPU_HAS_L2_PMU
1463 bool "L2CC PMU Support"
1464 help
1465 Select this if the L2 cache controller has a Performance Monitoring Unit.
1466
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001467config HTC_HEADSET
1468 tristate "HTC 2 Wire detection driver"
1469 default n
1470 help
1471 Provides support for detecting HTC 2 wire devices, such as wired
1472 headset, on the trout platform. Can be used with the msm serial
1473 debugger, but not with serial console.
1474
1475config TROUT_BATTCHG
1476 depends on MACH_TROUT && POWER_SUPPLY
1477 default y
1478 bool "Trout battery / charger driver"
1479
1480config HTC_PWRSINK
1481 depends on MSM_SMD
1482 default n
1483 bool "HTC Power Sink Driver"
1484
1485config QSD_SVS
1486 bool "QSD Static Voltage Scaling"
1487 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1488 default y
1489 select TPS65023
1490 help
1491 Enables static voltage scaling using the TPS65023 PMIC.
1492
1493config QSD_PMIC_DEFAULT_DCDC1
1494 int "PMIC default output voltage"
1495 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1496 default 1250
1497 help
1498 This is the PMIC voltage at Linux kernel boot.
1499
1500config MSM_FIQ_SUPPORT
1501 default y
1502 bool "Enable installation of an FIQ handler."
1503
1504config MSM_SERIAL_DEBUGGER
1505 select MSM_FIQ_SUPPORT
1506 select KERNEL_DEBUGGER_CORE
1507 default n
1508 bool "FIQ Mode Serial Debugger"
1509 help
1510 The FIQ serial debugger can accept commands even when the
1511 kernel is unresponsive due to being stuck with interrupts
1512 disabled. Depends on the kernel debugger core in drivers/misc.
1513
1514config MSM_SERIAL_DEBUGGER_CONSOLE
1515 depends on MSM_SERIAL_DEBUGGER
1516 default n
1517 bool "Console on FIQ Serial Debugger port"
1518 help
1519 Enables a console so that printk messages are displayed on
1520 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001521
Gregory Beanab78cde2010-09-01 16:26:12 -07001522config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001523 default y
1524 bool "Proc-Comm RPC Interface"
1525 help
1526 Enables a lightweight communications interface to the
1527 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001528
Gregory Bean1963a2a2010-08-28 10:05:44 -07001529config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001530 bool "MSM Shared Memory Driver (SMD)"
1531 help
1532 Support for the shared memory interface between the apps
1533 processor and the baseband processor. Provides access to
1534 the "shared heap", as well as virtual serial channels
1535 used to communicate with various services on the baseband
1536 processor.
1537
1538choice
1539 prompt "MSM Shared memory interface version"
1540 depends on MSM_SMD
1541 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1542 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1543
1544 config MSM_SMD_PKG3
1545 bool
1546 prompt "Package 3"
1547
1548 config MSM_SMD_PKG4
1549 bool
1550 prompt "Package 4"
1551endchoice
1552
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001553config MSM_PCIE
1554 bool "MSM PCIe Controller driver"
1555 depends on PCI && PCI_MSI
1556 help
1557 Enables the PCIe functionality by configures PCIe core on
1558 MSM chipset and by enabling the ARM PCI framework extension.
1559
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001560config MSM_RPC_SDIO_XPRT
1561 depends on MSM_SDIO_AL
1562 default y
1563 bool "MSM SDIO XPRT Layer"
1564 help
1565 SDIO Transport Layer for RPC Rouer
1566
1567config MSM_RPC_SDIO_DEBUG
1568 depends on MSM_RPC_SDIO_XPRT
1569 default y
1570 bool "MSM SDIO XPRT debug support"
1571 help
1572 Support for debugging SDIO XPRT
1573
1574config MSM_SMD_DEBUG
1575 depends on MSM_SMD
1576 default y
1577 bool "MSM SMD debug support"
1578 help
1579 Support for debugging the SMD for communication
1580 between the ARM9 and ARM11
1581
1582config MSM_SDIO_AL
1583 depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK)
1584 default y
1585 tristate "SDIO-Abstraction-Layer"
1586 help
1587 Support MSM<->MDM Communication over SDIO bus.
1588 MDM SDIO-Client should have pipes support.
1589
1590config MSM_SDIO_DMUX
1591 bool "SDIO Data Mux Driver"
1592 depends on MSM_SDIO_AL
1593 default n
1594 help
1595 Support Muxed Data Channels over SDIO interface.
1596
1597config MSM_BAM_DMUX
1598 bool "BAM Data Mux Driver"
1599 depends on SPS
1600 default n
1601 help
1602 Support Muxed Data Channels over BAM interface.
1603 BAM has a limited number of pipes. This driver
1604 provides a means to support more logical channels
1605 via muxing than BAM could without muxing.
1606
1607config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001608 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001609 default y
1610 bool "MSM N-WAY SMD support"
1611 help
1612 Supports APPS-QDSP SMD communication along with
1613 normal APPS-MODEM SMD communication.
1614
1615config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001616 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001617 default y
1618 bool "MSM N-WAY SMSM support"
1619 help
1620 Supports APPS-QDSP SMSM communication along with
1621 normal APPS-MODEM SMSM communication.
1622
Eric Holmberg6275b602012-11-19 13:05:04 -07001623config MSM_SMP2P
1624 bool "SMSM Point-to-Point (SMP2P)"
1625 depends on MSM_SMD
1626 help
1627 Provide point-to-point remote signaling support.
1628 SMP2P enables transferring 32-bit values between
1629 the local and a remote system using shared
1630 memory and interrupts. A client can open multiple
1631 32-bit values by specifying a unique string and
1632 remote processor ID.
1633
1634config MSM_SMP2P_TEST
1635 bool "SMSM Point-to-Point Test"
1636 depends on MSM_SMP2P
1637 help
1638 Enables loopback and unit testing support for
1639 SMP2P. Loopback support is used by other
1640 processors to do unit testing. Unit tests
1641 are used to verify the local and remote
1642 implementations.
1643
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001644config MSM_RESET_MODEM
1645 tristate "Reset Modem Driver"
1646 depends on MSM_SMD
1647 default m
1648 help
1649 Allows the user to reset the modem through a device node.
1650
1651config MSM_SMD_LOGGING
1652 depends on MSM_SMD
1653 default y
1654 bool "MSM Shared Memory Logger"
1655 help
1656 This option exposes the shared memory logger at /dev/smem_log
1657 and a debugfs node named smem_log.
1658
1659 If in doubt, say yes.
1660
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001661config MSM_IPC_LOGGING
1662 bool "MSM Debug Logging for IPC Drivers"
1663 help
1664 This option allows the debug logging for IPC Drivers.
1665
1666 If in doubt, say no.
1667
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001668config MSM_SMD_NMEA
1669 bool "NMEA GPS Driver"
1670 depends on MSM_SMD
1671 default y
1672 help
1673 Enable this to support the NMEA GPS device.
1674
1675 If in doubt, say yes.
1676
1677config MSM_SDIO_TTY
1678 bool "SDIO TTY Driver"
1679 depends on MSM_SDIO_AL
1680 default n
1681 help
1682 Provides a TTY driver SDIO TTY
1683 This driver can be used by user space
1684 applications for passing data through the
1685 SDIO interface.
1686
1687config MSM_SMD_TTY
1688 bool "SMD TTY Driver"
1689 depends on MSM_SMD
1690 default y
1691 help
1692 Provides TTY interfaces to interact with the modem.
1693
1694 If in doubt, say yes.
1695
1696config MSM_SMD_QMI
1697 bool "SMD QMI Driver"
1698 depends on MSM_SMD
1699 default y
1700 help
1701 Manages network data connections.
1702
1703 If in doubt, say yes.
1704
1705config MSM_SMD_PKT
1706 bool "SMD Packet Driver"
1707 depends on MSM_SMD
1708 default y
1709 help
1710 Provides a binary SMD non-muxed packet port interface.
1711
1712 If in doubt, say yes.
1713
1714config MSM_SDIO_CMUX
1715 bool "SDIO CMUX Driver"
1716 depends on MSM_SDIO_AL
1717 default n
1718 help
1719 Provides a Muxed port interface over SDIO QMI
1720
1721config MSM_DSPS
1722 bool "Sensors DSPS driver"
1723 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1724 default n
1725 help
1726 Provides user-space interface to the sensors manager
1727 to turn on/off the Sensors Processor system clocks.
1728 It is the DSPS responsibility to turn on/off the sensors
1729 themself.
1730 The number of clocks and their name may vary between targets.
1731 It also triggers the PIL to load the DSPS firmware.
1732
1733config MSM_SDIO_CTL
1734 bool "SDIO CTL Driver"
1735 depends on MSM_SDIO_CMUX
1736 default n
1737 help
1738 Provides a binary SDIO control port interface.
1739
1740config MSM_ONCRPCROUTER
1741 depends on MSM_SMD
1742 default n
1743 bool "MSM ONCRPC router support"
1744 help
1745 Support for the MSM ONCRPC router for communication between
1746 the ARM9 and ARM11
1747
1748config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001749 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001750 default n
1751 bool "MSM IPC Router support"
1752 help
1753 Support for the MSM IPC Router for communication between
1754 the APPs and the MODEM
1755
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001756config MSM_IPC_ROUTER_SMD_XPRT
1757 depends on MSM_SMD
1758 depends on MSM_IPC_ROUTER
1759 default n
1760 bool "MSM SMD XPRT Layer"
1761 help
1762 SMD Transport Layer for IPC Router
1763
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001764config MSM_IPC_ROUTER_SECURITY
1765 depends on MSM_IPC_ROUTER
1766 bool "MSM IPC Router Security support"
1767 help
1768 This feature of IPC Router will enforce security rules
1769 configured by a security script from the user-space. IPC Router
1770 once configured with the security rules will ensure that the
1771 sender of the message to a service belongs to the relevant
1772 Linux group as configured by the security script.
1773
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001774config MSM_QMI_INTERFACE
1775 depends on MSM_IPC_ROUTER
1776 depends on QMI_ENCDEC
1777 default n
1778 bool "MSM QMI Interface Library"
1779 help
1780 Library to send and receive QMI messages over IPC Router.
1781 This library provides interface functions to the kernel drivers
1782 to perform QMI message marshaling and transport them over IPC
1783 Router.
1784
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001785config MSM_TEST_QMI_CLIENT
1786 depends on MSM_QMI_INTERFACE
1787 bool "MSM TEST QMI CLIENT"
1788 help
1789 The sample QMI client provides a test code for QMI usage. The
1790 test_service client driver uses QMI interface library to send
1791 and receive QMI messages over IPC Router. The test code sends
1792 a synchronous QMI request to the test_service and handles the
1793 QMI responses.
1794
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001795config MSM_ONCRPCROUTER_DEBUG
1796 depends on MSM_ONCRPCROUTER
1797 default y
1798 bool "MSM debug ONCRPC router support"
1799 help
1800 Support for debugging the ONCRPC router for communication
1801 between the ARM9 and ARM11
1802
1803config MSM_RPC_LOOPBACK_XPRT
1804 depends on MSM_ONCRPCROUTER
1805 default n
1806 bool "MSM RPC local routing support"
1807 help
1808 Support for routing RPC messages between APPS clients
1809 and APPS servers. Helps in testing APPS RPC framework.
1810
1811config MSM_RPCSERVER_TIME_REMOTE
1812 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1813 default y
1814 bool "Time remote RPC server"
1815 help
1816 The time remote server receives notification of time bases and
1817 reports these events to registered callback functions.
1818
1819config MSM_RPCSERVER_WATCHDOG
1820 depends on MSM_ONCRPCROUTER
1821 default y
1822 bool "Watchdog RPC server"
1823 help
1824 The dog_keepalive server handles watchdog events.
1825
1826config MSM_RPC_WATCHDOG
1827 depends on MSM_ONCRPCROUTER
1828 default n
1829 bool "Watchdog RPC client"
1830 help
1831 The dog_keepalive client module.
1832
1833config MSM_RPC_PING
1834 depends on MSM_ONCRPCROUTER && DEBUG_FS
1835 default m
1836 bool "MSM rpc ping"
1837 help
1838 Implements MSM rpc ping test module.
1839
1840config MSM_RPC_PROC_COMM_TEST
1841 depends on DEBUG_FS && MSM_PROC_COMM
1842 default m
1843 bool "MSM rpc proc comm test"
1844 help
1845 Implements MSM rpc proc comm test module.
1846
1847config MSM_RPC_OEM_RAPI
1848 depends on MSM_ONCRPCROUTER
1849 default m
1850 bool "MSM oem rapi"
1851 help
1852 Implements MSM oem rapi client module.
1853
1854config MSM_RPCSERVER_HANDSET
1855 depends on MSM_ONCRPCROUTER
1856 default y
1857 bool "Handset events RPC server"
1858 help
1859 Support for receiving handset events like headset detect,
1860 headset switch and clamshell state.
1861
1862config MSM_RMT_STORAGE_CLIENT
1863 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1864 default n
1865 bool "Remote Storage RPC client"
1866 help
1867 Provide RPC mechanism for remote processors to access storage
1868 device on apps processor.
1869
1870config MSM_RMT_STORAGE_CLIENT_STATS
1871 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1872 default n
1873 bool "Remote storage RPC client performance statistics"
1874 help
1875 Collects performance statistics and shows this information
1876 through a debugfs file rmt_storage_stats.
1877
1878config MSM_SDIO_SMEM
1879 depends on MSM_SDIO_AL
1880 default n
1881 bool "SDIO SMEM for remote storage"
1882 help
1883 Copies data from remote MDM9K memory to local MSM8x60
1884 memory. Used by remote storage client to shadow
1885 MDM9K filesystem.
1886
1887config MSM_DALRPC
1888 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001889 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001890 help
1891 Supports RPC calls to DAL devices on remote processor cores.
1892
1893config MSM_DALRPC_TEST
1894 tristate "DAL RPC test module"
1895 depends on (MSM_DALRPC && DEBUG_FS)
1896 default m
1897 help
1898 Exercises DAL RPC calls to QDSP6.
1899
1900if CPU_FREQ_MSM
1901
1902config MSM_CPU_FREQ_SET_MIN_MAX
1903 bool "Set Min/Max CPU frequencies."
1904 default n
1905 help
1906 Allow setting min and max CPU frequencies. Sysfs can be used
1907 to override these values.
1908
1909config MSM_CPU_FREQ_MAX
1910 int "Max CPU Frequency"
1911 depends on MSM_CPU_FREQ_SET_MIN_MAX
1912 default 384000
1913
1914config MSM_CPU_FREQ_MIN
1915 int "Min CPU Frequency"
1916 depends on MSM_CPU_FREQ_SET_MIN_MAX
1917 default 245760
1918
1919endif # CPU_FREQ_MSM
1920
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001921config MSM_AVS_HW
1922 bool "Enable Adaptive Voltage Scaling (AVS)"
1923 default n
1924 help
1925 Enable AVS hardware to fine tune voltage at each frequency. The
1926 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1927 fine tune the voltages based on the feedback from the ring
1928 oscillators.
1929
1930config MSM_HW3D
1931 tristate "MSM Hardware 3D Register Driver"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001932 help
1933 Provides access to registers needed by the userspace OpenGL|ES
1934 library.
1935
1936config MSM_ADSP
1937 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1938 tristate "MSM ADSP driver"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001939 default y
1940 help
1941 Provides access to registers needed by the userspace aDSP library.
1942
1943config ADSP_RPC_VER
1944 hex
1945 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1946 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1947 depends on MSM_ADSP
1948 help
1949 Select proper ADSP RPC version
1950choice
1951 prompt "ADSP RPC version"
1952
1953 default AMSS_7X25_VERSION_2009
1954
1955 config AMSS_7X25_VERSION_2009
1956 bool "2.0.09"
1957
1958 config AMSS_7X25_VERSION_2008
1959 bool "2.0.08"
1960endchoice
1961
1962config MSM7KV2_AUDIO
1963 bool "MSM7K v2 audio"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001964 depends on ARCH_MSM7X30
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965 default y
1966 help
1967 Enables QDSP5V2-based audio drivers for audio playbacks and
1968 voice call.
1969
1970config MSM_ADSP_REPORT_EVENTS
1971 bool "Report modem events from the DSP"
1972 default y
1973 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1974 help
1975 Normally, only messages from the aDSP are reported to userspace.
1976 With this option, we report events from the aDSP as well.
1977
1978config MSM_QDSP6
1979 tristate "QDSP6 support"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001980 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001981 default y
1982 help
1983 Enable support for qdsp6. This provides audio and video functionality.
1984
1985config MSM8X60_AUDIO
1986 tristate "MSM8X60 audio support"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001987 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001988 default y
1989 help
1990 Enable support for qdsp6v2. This provides audio functionality.
1991
1992config MSM8X60_FTM_AUDIO_DEVICES
1993 bool "MSM8X60 audio factory test mode support"
1994 depends on MSM8X60_AUDIO
1995 help
1996 Enable support audio factory test mode devices. This is used
1997 in a production line environment.
1998
Ben Romberger45b351c2011-07-20 22:37:27 -07001999config RTAC
2000 bool "MSM8K real-time audio calibration support"
2001 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002002 help
Ben Romberger45b351c2011-07-20 22:37:27 -07002003 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002004 audio operation
2005
2006config MSM7X27A_AUDIO
2007 bool "MSM7X27A audio support"
2008 depends on ARCH_MSM7X27A && MSM_ADSP
2009 default n
2010 help
2011 Enable support for 7x27a. This provides audio functionality.
2012
Justin Pauporea6cd2092011-06-22 16:19:45 -07002013config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07002014 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07002015 depends on MSM_PROC_COMM && REGULATOR
2016 help
2017 Enable regulator framework support for regulators managed by PMLIB
2018 on the modem, and controlled through proccomm calls.
2019
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002020config MSM_VREG_SWITCH_INVERTED
2021 bool "Reverse vreg switch polarity"
2022 default n
2023 help
2024 Reverses the enable and disable for vreg switch.
2025
2026config MSM_DMA_TEST
2027 tristate "MSM DMA test module"
2028 default m
2029 help
2030 Intended to be compiled as a module. Provides a device node
2031 and ioctls for testing the MSM dma system.
2032
2033config WIFI_CONTROL_FUNC
2034 bool "Enable WiFi control function abstraction"
2035 help
2036 Enables Power/Reset/Carddetect function abstraction
2037
2038config WIFI_MEM_PREALLOC
2039 depends on WIFI_CONTROL_FUNC
2040 bool "Preallocate memory for WiFi buffers"
2041 help
2042 Preallocates memory buffers for WiFi driver
2043
2044config QSD_AUDIO
2045 bool "QSD audio"
Laura Abbott0913ebc2013-04-29 12:56:14 -07002046 depends on ARCH_MSM_SCORPION && MSM_DALRPC && !MSM_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002047 default y
2048 help
2049 Provides PCM, MP3, and AAC audio playback.
2050
2051config AUDIO_AAC_PLUS
2052 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
2053 bool "AAC+ Audio"
2054 default y
2055 help
2056 Provides AAC+ decoding
2057
2058config AUDIO_ENHANCED_AAC_PLUS
2059 depends on AUDIO_AAC_PLUS
2060 bool "Enhanced AAC+ Audio"
2061 default y
2062 help
2063 Provides Enhanced AAC+ decoding
2064
2065config SURF_FFA_GPIO_KEYPAD
2066 bool "MSM SURF/FFA GPIO keypad"
2067 depends on INPUT_GPIO = "y"
2068 default y
2069 help
2070 Select if the GPIO keypad is attached.
2071
2072config MSM_SLEEP_TIME_OVERRIDE
2073 bool "Allow overriding suspend/sleep time with PM module parameter"
2074 default y
2075 help
2076 Enable the module parameter sleep_time_override. Specified
2077 in units of seconds, it overwrites the normal sleep time of
2078 suspend. The feature is required for automated power management
2079 testing.
2080
2081config MSM_MEMORY_LOW_POWER_MODE
2082 bool "Control the low power modes of memory"
2083 default n
2084 help
2085 The application processor controls whether memory should enter
2086 which low power mode.
2087
2088choice
2089 prompt "Default Memory Low Power Mode during Idle"
2090 depends on MSM_MEMORY_LOW_POWER_MODE
2091 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2092 help
2093 Selects the default low power mode of the memory during idle
2094 sleep.
2095
2096 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2097 bool "Memory active"
2098
2099 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
2100 bool "Memory in retention"
2101
2102 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
2103 bool "Memory in deep power down"
2104endchoice
2105
2106choice
2107 prompt "Default Memory Low Power Mode during Suspend"
2108 depends on MSM_MEMORY_LOW_POWER_MODE
2109 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2110 help
2111 Selects the default low power mode of the memory during suspend
2112 sleep.
2113
2114 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2115 bool "Memory active"
2116
2117 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
2118 bool "Memory in retention"
2119
2120 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
2121 bool "Memory in deep power down"
2122endchoice
2123
2124choice
2125 prompt "Power management timeout action"
2126 default MSM_PM_TIMEOUT_HALT
2127 help
2128 Selects the Application Processor's action when Power Management
2129 times out waiting for Modem's handshake.
2130
2131 config MSM_PM_TIMEOUT_HALT
2132 bool "Halt the Application Processor"
2133
2134 config MSM_PM_TIMEOUT_RESET_MODEM
2135 bool "Reset the Modem Processor"
2136
2137 config MSM_PM_TIMEOUT_RESET_CHIP
2138 bool "Reset the entire chip"
2139endchoice
2140
2141config MSM_IDLE_WAIT_ON_MODEM
2142 int "Wait for Modem to become ready for idle power collapse"
2143 default 0
2144 help
2145 If Modem is not ready to handle Application Processor's request
2146 for idle power collapse, wait the number of microseconds in case
2147 Modem becomes ready soon.
2148
Matt Wagantall9274df92011-12-15 11:11:05 -08002149config MSM_RPM_REGULATOR
2150 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002151 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002152 help
2153 Compile in support for the RPM regulator driver, used for setting
2154 voltages and other parameters of the various power rails supplied
2155 by some Qualcomm PMICs.
2156
David Collinsc7642322012-04-04 10:19:12 -07002157config MSM_RPM_REGULATOR_SMD
2158 bool "SMD RPM regulator driver"
2159 depends on REGULATOR
2160 depends on OF
2161 depends on MSM_RPM_SMD
2162 help
2163 Compile in support for the SMD RPM regulator driver which is used for
2164 setting voltages and other parameters of the various power rails
2165 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2166 be used on systems which contain an RPM which communicates with the
2167 application processor over SMD.
2168
David Collins037d6482013-03-14 16:53:33 -07002169config MSM_SPM_REGULATOR
2170 bool "SPM regulator driver"
2171 depends on REGULATOR && SPMI && OF_SPMI
2172 help
2173 Enable support for the SPM regulator driver which is used for
2174 setting voltages of processor supply regulators via the SPM module
2175 found inside of the MSM chips. The SPM regulator driver can be used
2176 on MSM systems where the APSS processor cores are supplied by their
2177 own PMIC regulator.
2178
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002179config MSM_SMCMOD
2180 tristate "Secure Monitor Call (SMC) Module"
2181 default n
Stanimir Varbanov87f5a502013-06-10 23:24:09 +03002182 depends on (ION && ION_MSM && MSM_SCM)
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002183 help
2184 Enable support for smcmod driver. This driver provides a mechanism
2185 to execute the Secure Monitor Call (SMC) to switch from non-secure
Stanimir Varbanov87f5a502013-06-10 23:24:09 +03002186 to secure execution in the fsm9xxx and msm8x26 targets. This module
2187 utilizes Ion for buffer management.
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002188
Stephen Boyd01710582012-07-09 13:40:05 -07002189config MSM_SUBSYSTEM_RESTART
2190 bool "MSM Subsystem Restart"
2191 help
2192 This option enables the MSM subsystem restart framework.
2193
2194 The MSM subsystem restart framework provides support to boot,
2195 shutdown, and restart subsystems with a reference counted API.
2196 It also notifies userspace of transitions between these states via
2197 sysfs.
2198
2199config MSM_SYSMON_COMM
2200 bool "MSM System Monitor communication support"
2201 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2202 help
2203 This option adds support for MSM System Monitor library, which
2204 provides an API that may be used for notifying subsystems within
2205 the SoC about other subsystems' power-up/down state-changes.
2206
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002207config MSM_PIL
2208 bool "Peripheral image loading"
2209 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002210 default n
2211 help
2212 Some peripherals need to be loaded into memory before they can be
2213 brought out of reset.
2214
2215 Say yes to support these devices.
2216
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002217config MSM_PIL_MODEM
2218 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002219 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002220 help
2221 Support for booting and shutting down ARM11 Modem processors.
2222
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002223config MSM_PIL_QDSP6V3
2224 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002225 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002226 help
2227 Support for booting and shutting down QDSP6v3 processors (hexagon).
2228 The QDSP6 is a low power DSP used in audio software applications.
2229
Stephen Boydbdb53f32012-06-05 18:39:47 -07002230config MSM_PIL_LPASS_QDSP6V4
2231 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002232 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002233 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002234 Support for booting and shutting down QDSP6v4 processors (hexagon)
2235 in low power audio subsystems. If you would like to record or
2236 play audio then say Y here.
2237
2238 If unsure, say N.
2239
2240config MSM_PIL_MODEM_QDSP6V4
2241 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002242 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002243 help
2244 Support for booting and shutting down QDSP6v4 processors (hexagon)
2245 in modem subsystems. If you would like to make or receive phone
2246 calls then say Y here.
2247
2248 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002249
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002250config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002251 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2252 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2253 help
2254 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2255 in low power audio subsystems. This driver also monitors the ADSP
2256 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2257 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002258
2259config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002260 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2261 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002262 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002263 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2264 in modem subsystems. If you would like to make or receive phone
2265 calls then say Y here.
2266
2267 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002268
Stephen Boyd322a9922011-09-20 01:05:54 -07002269config MSM_PIL_RIVA
2270 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002271 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002272 help
2273 Support for booting and shutting down the RIVA processor (WCNSS).
2274 Riva is the wireless subsystem processor used in bluetooth, wireless
2275 LAN, and FM software applications.
2276
Stephen Boydd89eebe2011-09-28 23:28:11 -07002277config MSM_PIL_TZAPPS
2278 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002279 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002280 help
2281 Support for booting and shutting down TZApps.
2282
2283 TZApps is an image that runs in the secure processor state. It is
2284 used to decrypt data and perform secure operations on the behalf of
2285 the kernel.
2286
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002287config MSM_PIL_DSPS
2288 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002289 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002290 help
2291 Support for booting and shutting down ARM7 DSPS processors.
2292
2293 DSPS is a sensors offloading processor used for applications such
2294 as rotation detection, temperature, etc.
2295
Stephen Boyd7b973de2012-03-09 12:26:16 -08002296config MSM_PIL_VIDC
2297 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002298 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002299 help
2300 Support for authenticating the video core image.
2301
Tianyi Gou828798d2012-05-02 21:12:38 -07002302config MSM_PIL_VENUS
2303 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002304 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002305 help
2306 Support for booting and shutting down the VENUS processor (Video).
2307 Venus is the Video subsystem processor used for video codecs.
2308
Matt Wagantall292aace2012-01-26 19:12:34 -08002309config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002310 tristate "GSS (Cortex A5) Boot Support"
2311 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002312 help
2313 Support for booting and shutting down Cortex A5 processors which run
2314 GPS subsystem firmware.
2315
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002316config MSM_PIL_PRONTO
2317 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002318 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002319 help
2320 Support for booting and shutting down the PRONTO processor (WCNSS).
2321 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2322 LAN, and FM software applications.
2323
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002324config MSM_SCM
2325 bool "Secure Channel Manager (SCM) support"
2326 default n
2327
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002328config SCORPION_Uni_45nm_BUG
2329 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2330 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2331 default y
2332 help
2333 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2334 invalidating the Branch Predictor Array by Modified Virtual Address can
2335 create invalid entries in the TLB with the wrong ASID values on Scorpion
2336 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2337 workaround for Scorpion Uniprocessor 45nm cores.
2338
2339 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2340
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002341config MSM_BUSPM_DEV
2342 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Macb8168702013-05-16 15:46:06 -06002343 depends on MSM_BUS_SCALING
2344 default n
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002345 help
2346 This kernel module is used to mmap() hardware registers for the
2347 performance monitors, counters, etc. The module can also be used to
2348 allocate physical memory which is used by bus performance hardware to
2349 dump performance data.
2350
Mona Hossain11c03ac2011-10-26 12:42:10 -07002351config MSM_TZ_LOG
2352 tristate "MSM Trust Zone (TZ) Log Driver"
2353 depends on DEBUG_FS
2354 help
2355 This option enables a driver with a debugfs interface for messages
2356 produced by the Secure code (Trust zone). These messages provide
2357 diagnostic information about TZ operation.
2358
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002359config MSM_RPM_LOG
2360 tristate "MSM Resource Power Manager Log Driver"
2361 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002362 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002363 default n
2364 help
2365 This option enables a driver which can read from a circular buffer
2366 of messages produced by the RPM. These messages provide diagnostic
2367 information about RPM operation. The driver outputs the messages
2368 via a debugfs node.
2369
2370config MSM_RPM_STATS_LOG
2371 tristate "MSM Resource Power Manager Stat Driver"
2372 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002373 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002374 default n
2375 help
2376 This option enables a driver which reads RPM messages from a shared
2377 memory location. These messages provide statistical information about
2378 the low power modes that RPM enters. The drivers outputs the message
2379 via a debugfs node.
2380
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002381config MSM_RPM_RBCPR_STATS_LOG
2382 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2383 depends on DEBUG_FS
2384 depends on MSM_RPM
2385 help
2386 This option enables a driver which reads RPM messages from a shared
2387 memory location. These messages provide statistical information about
2388 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2389 outputs the message via a debugfs node.
2390
Girish Mahadevanb0ef7d52013-05-30 15:53:48 -06002391config MSM_RPM_RBCPR_STATS_V2_LOG
2392 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2393 depends on DEBUG_FS
2394 help
2395 This option enables v2 of the rpmrbcpr_stats driver which reads RPM
2396 memory for statistics pertaining to RPM's RBCPR(Rapid Bridge Core
2397 Power Reduction) driver. The drivers outputs the message via a
2398 debugfs node.
2399
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002400config MSM_DIRECT_SCLK_ACCESS
2401 bool "Direct access to the SCLK timer"
2402 default n
2403
2404config IOMMU_API
2405 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002406
Brian Swetland9e73c842007-11-26 04:12:13 -08002407config MSM_GPIOMUX
2408 bool
2409
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002410config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002411 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002412
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002413config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002414 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002415
Taniya Dascd1d0232012-07-03 17:50:47 +05302416config MSM_MODEM_RESTART
2417 bool
2418
Matt Wagantall88b86312012-01-31 16:53:03 -08002419config MSM_PM2
2420 depends on PM
2421 bool
2422
2423config MSM_PM8X60
2424 depends on PM
2425 bool
2426
Girish Mahadevan388c3082012-09-10 15:30:36 -06002427config MSM_EVENT_TIMER
2428 bool "Event timer"
2429 help
2430 This option enables a modules that manages a list of event timers that
2431 need to be monitored by the PM. The enables the PM code to monitor
2432 events that require the core to be awake and ready to handle the
2433 event.
2434
Matt Wagantall88b86312012-01-31 16:53:03 -08002435config MSM_NOPM
2436 default y if !PM
2437 bool
2438
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002439config MSM_BUS_SCALING
2440 bool "Bus scaling driver"
2441 default n
2442
Gagan Mac85c70492011-06-10 16:07:47 -06002443config MSM_BUS_RPM_MULTI_TIER_ENABLED
2444 bool "RPM Multi-tiering Configuration"
2445 depends on MSM_BUS_SCALING
2446
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002447config MSM_WATCHDOG
2448 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002449 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002450 help
2451 This enables the watchdog as is present on 8x60. Currently we use
2452 core 0's watchdog, and reset the entire SoC if it times out. It does
2453 not run during the bootup process, so it will not catch any early
2454 lockups.
2455
Hanumant Singhd1f01022012-07-05 14:21:53 -07002456config MSM_WATCHDOG_V2
2457 bool "MSM Watchdog Support"
2458 help
2459 This enables the watchdog module. It causes kernel panic if the
2460 watchdog times out. It allows for detection of cpu hangs and
2461 deadlocks. It does not run during the bootup process, so it will
2462 not catch any early lockups.
2463
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002464config MSM_MEMORY_DUMP
2465 bool "MSM Memory Dump Support"
2466 help
2467 This enables memory dump feature. It allows various client
2468 subsystems to register respective dump regions. At the time
2469 of deadlocks or cpu hangs these dump regions are captured to
2470 give a snapshot of the system at the time of the crash.
2471
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002472config MSM_DLOAD_MODE
2473 bool "Enable download mode on crashes"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002474 default n
2475 help
2476 This makes the SoC enter download mode when it resets
2477 due to a kernel panic. Note that this doesn't by itself
2478 make the kernel reboot on a kernel panic - that must be
2479 enabled via another mechanism.
2480
Pratik Patel17f3b822011-11-21 12:41:47 -08002481config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002482 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002483 help
Pratik Patel61e91702013-01-27 20:30:42 -08002484 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002485 processor tracing across power collapse both for JTag and OS hosted
2486 software running on the target. Enabling this will ensure debug
2487 and ETM registers are saved and restored across power collapse.
2488
Pratik Patel61e91702013-01-27 20:30:42 -08002489 If unsure, say 'N' here to avoid potential power, performance and
2490 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002491
Pushkar Joshi64cae782012-12-15 18:59:03 -08002492config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002493 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002494 help
Pratik Patel61e91702013-01-27 20:30:42 -08002495 Enables support for debugging (specifically breakpoints) and ETM
2496 processor tracing across power collapse both for JTag and OS hosted
2497 software running on the target. Enabling this will ensure debug
2498 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002499
Pratik Patel61e91702013-01-27 20:30:42 -08002500 Required on targets on which cp14 access to debug and ETM registers is
2501 not permitted and so memory mapped access is necessary.
2502
2503 If unsure, say 'N' here to avoid potential power, performance and
2504 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002505
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002506config MSM_ETM
2507 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002508 depends on ARCH_MSM8X60
2509 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002510 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002511 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002512
Lynus Vazdde09ee2012-01-05 13:28:22 +05302513config MSM_SLEEP_STATS_DEVICE
2514 bool "Enable exporting of MSM sleep device stats to userspace"
2515
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302516config MSM_RUN_QUEUE_STATS
2517 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002518 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302519 help
2520 This option enalbes statistics collection on Run Queue. A daemon
2521 in user mode, called MPDecision will be using this data to decide
2522 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302523
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002524config MSM_STANDALONE_POWER_COLLAPSE
2525 bool "Enable standalone power collapse"
2526 default n
2527
2528config MSM_GSBI9_UART
2529 bool "Enable GSBI9 UART device"
2530 default n
2531 help
2532 This enables GSBI9 configured into UART.
2533
2534config MSM_SHARED_GPIO_FOR_UART2DM
2535 bool "Use shared GPIOs into UART mode"
2536 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2537 help
2538 This option configures GPIO muxed with SDC4/MMC3
2539 8-bit mode into UART mode. It is used for serial
2540 console on UART2DM. Say Y if you want to have
2541 serial console on UART2DM.
2542
2543config MSM_SHOW_RESUME_IRQ
2544 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002545 depends on (ARM_GIC || PMIC8058)
2546 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002547 default n
2548 help
2549 This option logs wake up interrupts that have triggered just before
2550 the resume loop unrolls. Say Y if you want to debug why the system
2551 resumed.
2552
2553config BT_MSM_PINTEST
2554 tristate "MSM Bluetooth Pin Connectivity Test"
2555 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2556 default n
2557 help
2558 Bluetooth MSM Pin Connectivity test module.
2559 This driver provides support for verifying the MSM to BT pin
2560 connectivity.
2561
2562config MSM_FAKE_BATTERY
2563 depends on POWER_SUPPLY
2564 default n
2565 bool "MSM Fake Battery"
2566 help
2567 Enables MSM fake battery driver.
2568
2569config MSM_QDSP6_APR
2570 bool "Audio QDSP6 APR support"
2571 depends on MSM_SMD
2572 default n
2573 help
2574 Enable APR IPC protocol support between
2575 application processor and QDSP6. APR is
2576 used by audio driver to configure QDSP6's
2577 ASM, ADM and AFE.
2578
Joonwoo Park91d95462012-08-02 10:55:54 -07002579config MSM_QDSP6_APRV2
2580 bool "Audio QDSP6 APRv2 support"
2581 depends on MSM_SMD
2582 default n
2583 help
2584 Enable APRv2 IPC protocol support between
2585 application processor and QDSP6. APR is
2586 used by audio driver to configure QDSP6's
2587 ASM, ADM and AFE.
2588
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002589config MSM_QDSP6_CODECS
2590 bool "Audio Codecs on QDSP6 APR "
2591 depends on MSM_SMD
2592 default n
2593 help
2594 Enable Audio codecs with APR IPC protocol support between
2595 application processor and QDSP6. APR is
2596 used by audio driver to configure QDSP6's
2597 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002598
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002599config MSM_QDSP6V2_CODECS
2600 bool "Audio QDSP6V2 APR support"
2601 depends on MSM_SMD
2602 help
2603 Enable Audio codecs with APR IPC protocol support between
2604 application processor and QDSP6 for B-family. APR is
2605 used by audio driver to configure QDSP6's
2606 ASM, ADM and AFE.
2607
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002608config MSM_AUDIO_QDSP6
2609 bool "QDSP6 HW Audio support"
2610 select SND_SOC_MSM_QDSP6_INTF
2611 default n
2612 help
2613 Enable HW audio support in QDSP6.
2614 QDSP6 can support HW encoder & decoder and audio processing
2615
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002616config MSM_AUDIO_QDSP6V2
2617 bool "QDSP6V2 HW Audio support"
2618 select SND_SOC_MSM_QDSP6V2_INTF
2619 help
2620 Enable HW audio support in QDSP6V2.
2621 QDSP6V2 can support HW encoder & decoder and
2622 audio processing. It will enable support for
2623 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2624 others.
2625
Joonwoo Park4a14a552012-08-02 11:03:21 -07002626config MSM_ADSP_LOADER
2627 tristate "ADSP loader support"
2628 select SND_SOC_MSM_APRV2_INTF
Krishnankutty Kolathappilly2ce63522013-08-26 13:54:22 -07002629 depends on MSM_AUDIO_QDSP6V2
Joonwoo Park4a14a552012-08-02 11:03:21 -07002630 help
2631 Enable ADSP image loader.
2632 The ADSP loader brings ADSP out of reset
2633 for the platforms that use APRv2.
2634 Say M if you want to enable this module.
2635
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002636config MSM_ULTRASOUND_A
2637 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002638 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002639 Enable HW ultrasound support in QDSP6.
2640 QDSP6 can support HW encoder & decoder and
2641 ultrasound processing. It will enable
2642 ultrasound data paths between
2643 HW and services, calculating input events
2644 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002645
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002646config MSM_ULTRASOUND_B
2647 bool "QDSP6V2 HW Ultrasound support"
2648 help
2649 Enable HW Ultrasound support in QDSP6V2.
2650 QDSP6V2 can support HW encoder & decoder and
2651 ultrasound processing. It will enable
2652 ultrasound data paths between
2653 HW and services, calculating input events
2654 upon the ultrasound data.
2655
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002656config MSM_RPC_VIBRATOR
2657 bool "RPC based MSM Vibrator Support"
2658 depends on MSM_ONCRPCROUTER
2659 help
2660 Enable the vibrator support on MSM over RPC. The vibrator
2661 is connected on the PMIC. Say Y if you want to enable this
2662 feature.
2663
2664config PM8XXX_RPC_VIBRATOR
2665 bool "RPC based Vibrator on PM8xxx PMICs"
2666 depends on MSM_RPC_VIBRATOR
2667 help
2668 Enable the vibrator support on MSM over RPC. The vibrator
2669 is connected on the PM8XXX PMIC. Say Y if you want to enable
2670 this feature.
2671
2672config MSM_SPM_V1
2673 bool "Driver support for SPM Version 1"
2674 help
2675 Enables the support for Version 1 of the SPM driver. SPM hardware is
2676 used to manage the processor power during sleep. The driver allows
2677 configuring SPM to allow different power modes.
2678
2679config MSM_SPM_V2
2680 bool "Driver support for SPM Version 2"
2681 help
2682 Enables the support for Version 2 of the SPM driver. SPM hardware is
2683 used to manage the processor power during sleep. The driver allows
2684 configuring SPM to allow different power modes.
2685
2686config MSM_L2_SPM
2687 bool "SPM support for L2 cache"
2688 depends on MSM_SPM_V2
2689 help
2690 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2691 control of L2 cache low power mode with a Subsystem Power manager.
2692 Enabling this driver allows configuring L2 SPM for low power modes
2693 on supported chipsets.
2694
Laura Abbott2d1760b2011-09-29 21:31:24 -07002695config MSM_MULTIMEDIA_USE_ION
2696 bool "Multimedia suport using Ion"
2697 depends on ION_MSM
2698 help
2699 Enable support for multimedia drivers using Ion for buffer management
2700 instead of pmem. Selecting this may also involve userspace
2701 dependencies as well.
2702
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002703config MSM_OCMEM
2704 bool "MSM On-Chip memory driver (OCMEM)"
2705 help
2706 Enable support for On-Chip Memory available on certain MSM chipsets.
2707 OCMEM is a low latency, high performance pool shared by subsystems.
2708
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002709config MSM_OCMEM_LOCAL_POWER_CTRL
2710 bool "OCMEM Local Power Control"
2711 depends on MSM_OCMEM
2712 help
2713 Enable direct power management of the OCMEM core by the
2714 OCMEM driver. By default power management is delegated to
2715 the RPM. Selecting this option causes the OCMEM driver to
2716 directly handle the various macro power transitions.
2717
2718config MSM_OCMEM_DEBUG
2719 bool "OCMEM Debug Support"
2720 depends on MSM_OCMEM
2721 help
2722 Enable debug options for On-chip Memory (OCMEM) driver.
2723 Various debug options include memory, power and latency.
2724 Choosing one of these options allows debugging of each
2725 individual subsystem separately.
2726
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002727config MSM_OCMEM_NONSECURE
2728 bool "OCMEM Non Secure Mode"
2729 depends on MSM_OCMEM_DEBUG
2730 help
2731 Disable OCMEM interaction with secure processor.
2732 By default OCMEM is secured and accesses for each master
2733 is requested by the OCMEM driver. Selecting this option
2734 causes the OCMEM memory to be in non-secure state unless
2735 its locked down by the secure processor.
2736
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002737config MSM_OCMEM_POWER_DEBUG
2738 bool "OCMEM Power Debug Support"
2739 depends on MSM_OCMEM_DEBUG
2740 help
2741 Enable debug support for OCMEM power management.
2742 This adds support for verifying all power management
2743 related operations of OCMEM. Both local power management
2744 and RPM assisted power management operations are supported.
2745
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002746config MSM_OCMEM_DEBUG_ALWAYS_ON
2747 bool "Keep OCMEM always turned ON"
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002748 depends on MSM_OCMEM_DEBUG
2749 help
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002750 Always vote for all OCMEM clocks and keep all OCMEM
2751 macros turned ON and never allow them to be turned OFF.
2752 Both local power management and RPM assisted power modes
2753 are supported for individual macro power control operations.
2754
2755config MSM_OCMEM_POWER_DISABLE
2756 bool "OCMEM Disable Power Control"
2757 depends on MSM_OCMEM
2758 help
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002759 Disable all OCMEM power management.
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002760 Skip all OCMEM power operations that turn ON or
2761 turn OFF the macros. Both local power management and
2762 RPM assisted power management operations are skipped.
2763 Enable this configuration if OCMEM is being exclusively
2764 used as GMEM or OCIMEM.
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002765
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002766config SENSORS_ADSP
2767 bool "Enable Sensors Driver Support for ADSP"
2768 help
2769 Add support for sensors ADSP driver.
2770 This driver is used for exercising different sensors use cases,
2771 such as for lower-power OCMEM use cases, and for time syncing
2772 with ADSP clock.
2773
Laura Abbottad340ff2012-01-04 14:23:48 -08002774config MSM_RTB
2775 bool "Register tracing"
2776 help
2777 Add support for logging different events to a small uncached
2778 region. This is designed to aid in debugging reset cases where the
2779 caches may not be flushed before the target resets.
2780
2781config MSM_RTB_SEPARATE_CPUS
2782 bool "Separate entries for each cpu"
2783 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002784 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002785 help
2786 Under some circumstances, it may be beneficial to give dedicated space
2787 for each cpu to log accesses. Selecting this option will log each cpu
2788 separately. This will guarantee that the last acesses for each cpu
2789 will be logged but there will be fewer entries per cpu
2790
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002791config MSM_EBI_ERP
2792 bool "External Bus Interface (EBI) error reporting"
2793 help
2794 Say 'Y' here to enable reporting of external bus interface errors to
2795 the kernel log. Information such as the offending address and
2796 transaction type will be logged. This may be useful for debugging
2797 seemingly broken memory accesses.
2798
2799 For production builds, you should probably say 'N' here.
2800
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002801config MSM_CACHE_ERP
2802 bool "Cache / CPU error reporting"
2803 depends on ARCH_MSM_KRAIT
2804 help
2805 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2806 log. Enabling this feature can be used as a system debugging technique
2807 if cache corruption is suspected. Cache error statistics will also be
2808 reported in /proc/cpu/msm_cache_erp.
2809
2810 For production builds, you should probably say 'N' here.
2811
2812config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002813 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002814 depends on MSM_CACHE_ERP
2815 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002816 To cause the kernel to panic whenever an L1 cache error is detected, say
2817 'Y' here. This may be useful as a debugging technique if general system
2818 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002819
2820 For production builds, you should probably say 'N' here.
2821
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002822config MSM_L1_RECOV_ERR_PANIC
2823 bool "Panic on recoverable L1 cache errors"
2824 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2825 help
2826 Certain CPU designs may be able to automatically recover from certain
2827 kinds of L1 cache errors, even though the L1 cache itself may not
2828 support error correction. These errors should not result in any kind
2829 of corruption, but their presence is nevertheless an indication of
2830 poor system health. To cause the kernel to panic whenever a
2831 recoverable L1 cache error is detected, say 'Y' here. This may be
2832 useful as a debugging technique if general system instability is
2833 suspected.
2834
2835 For production builds, you should definitely say 'N' here.
2836
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002837config MSM_L1_ERR_LOG
2838 bool "Log CPU ERP events to system memory"
2839 depends on MSM_CACHE_ERP
2840 help
2841 Enable logging CPU ERP events to an area of memory that will be
2842 preserved across a system reset. This may be useful for detecting and
2843 troubleshooting ERP-related system crashes in the field.
2844
2845 For production builds, you may want to say 'Y' here.
2846
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002847config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2848 bool "Report L2 master port slave/decode errors in kernel log"
2849 depends on MSM_CACHE_ERP
2850 help
2851 Master port errors can occur when a memory request is not properly
2852 handled by the destination slave. This can occur if the destination
2853 register does not exist or is inaccessible due to security
2854 restrictions or (in some cases) clock configuration. Enabling this
2855 option will cause a backtrace to be printed to the kernel log whenever
2856 such an error is encountered. Note that the error is reported as an
2857 interrupt rather than as an exception, meaning that the backtrace may
2858 have some skid. This option may help with debugging, though production
2859 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002860
2861config MSM_L2_ERP_PORT_PANIC
2862 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002863 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002864 help
2865 Master port errors can occur when a memory request is not properly
2866 handled by the destination slave. Enable this option to catch drivers
2867 which attempt to access bad areas of the address space, or access
2868 hardware registers in an improper state (such as certain clocks not
2869 being on). This option may help with debugging, though production
2870 builds should probably say 'N' here.
2871
2872config MSM_L2_ERP_1BIT_PANIC
2873 bool "Panic on recoverable L2 soft errors"
2874 depends on MSM_CACHE_ERP
2875 help
2876 Enable this option to cause a kernel panic whenever the L2 cache
2877 encounters a single-bit (correctable) soft error. This option should
2878 only be enabled when doing low-level debugging where cache corruption
2879 is suspected.
2880
2881 For production builds, you should definitely say 'N' here.
2882
2883config MSM_L2_ERP_2BIT_PANIC
2884 bool "Panic on unrecoverable L2 soft errors"
2885 depends on MSM_CACHE_ERP
2886 help
2887 Enable this option to cause a kernel panic whenever the L2 cache
2888 encounters a double-bit (non-correctable) soft error. Debug builds
2889 will likely benefit from having this option enabled to catch cache
2890 problems as soon as possible.
2891
2892 For production builds, it may be acceptable to say 'N' here, since
2893 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002894
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002895config MSM_DCVS
2896 bool "Use MSM DCVS for CPU/GPU Frequency control"
2897 depends on MSM_SCM
2898 help
2899 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2900 The DCVS manager allows idle driver to feed the idle information to the
2901 algorithm and the algorithm returns a frequency for the core which is
2902 passed to the frequency change driver.
2903
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302904config MSM_CPR
2905 tristate "Use MSM CPR in S/W mode"
2906 help
2907 Enable CPR (core power reduction) in S/W mode, where the processor
2908 get's the notification from CPR block and programs the PMIC.
2909
2910config MSM_VP_REGULATOR
2911 tristate "Use MSM PMIC8029 C2 regulator"
2912 depends on ARCH_MSM8625
2913 help
2914 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2915 for MSMs like 8625.
2916
Taniya Dasc43e6872012-03-21 16:41:14 +05302917config HAVE_ARCH_HAS_CURRENT_TIMER
2918 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002919
2920config MSM_CACHE_DUMP
2921 bool "Cache dumping support"
2922 help
2923 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2924 This allows for analysis of the caches in case cache corruption is
2925 suspected.
2926
Laura Abbott7b637362012-03-29 16:43:49 -07002927config MSM_CACHE_DUMP_ON_PANIC
2928 bool "Dump caches on panic"
2929 depends on MSM_CACHE_DUMP
2930 help
2931 By default, the caches are flushed on panic. This means that trying to
2932 look at them in a RAM dump will give useless data. Select this if you
2933 want to dump the L1 and L2 caches on panic before any flush occurs.
2934 If unsure, say N
2935
Jack Phamccbbfab2012-04-09 19:50:20 -07002936config MSM_HSIC_SYSMON
2937 tristate "MSM HSIC system monitor driver"
2938 depends on USB
2939 help
2940 Add support for bridging with the system monitor interface of MDM
2941 over HSIC. This driver allows the local system monitor to
2942 communicate with the remote system monitor interface.
2943
2944config MSM_HSIC_SYSMON_TEST
2945 tristate "MSM HSIC system monitor bridge test"
2946 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2947 help
2948 Enable the test hook for the Qualcomm system monitor HSIC driver.
2949 This will create a debugfs file entry named "hsic_sysmon_test" which
2950 can be read and written to send character data to the sysmon port of
2951 the modem over USB.
2952
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302953config MSM_RPC_PMIC
2954 tristate "MSM RPC PMIC driver"
2955 depends on MSM_ONCRPCROUTER
2956 help
2957 This driver supports the PMIC functionality over RPC for those MSM's
2958 which do not have a direct access to PMIC. It supports ability to
2959 configure MPP, GPIO and all the other supported peripherals of the
2960 PMIC.
2961
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302962config MSM_RPC_USB
2963 tristate "MSM RPC USB driver"
2964 depends on MSM_ONCRPCROUTER
2965 help
2966 This driver supports the USB configuration support over the RPC
2967 interface. It support the HS USB module connected to the MSM
2968 and FS USB which is connected over the PMIC. This support is
2969 required for MSMs on which the APPS does not have a direct access
2970 to the PMIC.
2971
2972config MSM_RPC_PMAPP
2973 tristate "MSM RPC PMIC APP driver"
2974 depends on MSM_ONCRPCROUTER
2975 help
2976 This driver supports the configuration of various PMIC APP modules
2977 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2978 interface. This support is required for MSMs on which the APPS
2979 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002980
2981config MSM_ENABLE_WDOG_DEBUG_CONTROL
Pratik Patele08204d2013-03-12 17:43:56 -07002982 bool "Enable control of watchdog debug and boot partition select"
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002983 help
Pratik Patele08204d2013-03-12 17:43:56 -07002984 Enables support for controlling watchdog debug and boot partition
2985 select. This is currently used to bypass debug image for PS_HOLD reset
2986 by disabling watchdog debug and boot partition select. This allows
2987 for a clean MSM reset for reboot scenarios.
Taniya Dasea4263f92012-08-22 18:52:51 +05302988
2989config MSM_FIQ
2990 bool "Enable FIQ for debugging"
2991 depends on ARCH_MSM8625
2992 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302993 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302994 help
2995 Enable any line to be used as an FIQ. This will help debugging
2996 if apps is not responding and holding lock with irqs disabled.
2997 Modem will then generate an raise a FIQ on this line before sending
2998 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002999
3000config MSM_USE_USER_ACCESSIBLE_TIMERS
3001 bool "Enables mapping an MSM timer counter page to user space."
3002 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
3003 help
3004 Enables MSM-specific user accessible timers via a shared
3005 memory page containing the cycle counter.
3006
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05303007config USE_DEV_CTRL_VOLUME
3008 bool "Use Device Control Volume"
3009 help
3010 Use Device Control Volume as opposed to ALSA volume control.
3011
Jay Chokshi06e444f2012-12-06 20:48:23 -08003012config MSM_CPU_PWRCTL
3013 bool "Ensures that krait droop detectors are always off"
3014 help
3015 Droop detector mechanism can adversely affect krait plls during
3016 stand alone power collapse operation. Selecting this option
3017 ensures that they are always off.
3018
Saket Saurabh6089f952012-12-07 15:49:13 +05303019config MSM_UARTDM_Core_v14
3020 bool "Use MSM BLSP based HSUART Core v1.4"
3021 depends on SERIAL_MSM_HS
3022 help
3023 Select if BLSP based UART Core v.14 or higher is present.
Abhimanyu Kapurcf3ed152013-03-01 19:32:19 -08003024
3025config MSM_BOOT_STATS
3026 bool "Use MSM boot stats reporting"
3027 help
3028 Use this to report msm boot stats such as bootloader throughput,
3029 display init, total boot time.
3030 This figures are reported in mpm sleep clock cycles and have a
3031 resolution of 31 bits as 1 bit is used as an overflow check.
Syed Rameez Mustafa37f93472013-03-18 15:49:48 -07003032
3033config MSM_XPU_ERR_FATAL
3034 bool "Configure XPU violations as fatal errors"
3035 help
3036 Select if XPU violations have to be configured as fatal errors.
Willie Ruan2635a852013-03-17 16:33:42 -07003037
3038config MSM_CPR_REGULATOR
3039 bool "RBCPR regulator driver for APC"
3040 depends on REGULATOR
3041 depends on OF
3042 help
3043 Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
3044 corner vote for APC power rail. The driver takes PTE process voltage
3045 suggestions in efuse as initial settings. It converts corner vote
3046 to voltage value before writing to a voltage regulator API, such as
3047 that provided by spm-regulator driver.
Rohit Vaswani8f709c02013-02-13 15:49:56 -08003048
3049config WALL_CLK
3050 tristate "Wall Clock hardware block simulation"
3051 depends on ARCH_APQ8064
3052 help
3053 This driver simulates the wall-clock hardware block on fsm8064_ep
3054 femto emulation platform. This block will be used to provide
3055 clock information to the LTE Layer 2 module running on the hexagon
3056 processor.
3057
3058config WALL_CLK_SYSFS
3059 tristate "Wall Clock SysFS Support"
3060 depends on SYSFS && WALL_CLK
3061 help
3062 Support the wallclk directory in sysfs filesystem to enable the
3063 wall clock simulation and read the current SFN.
3064
Abhijeet Dharmapurikar719c96b2013-07-19 11:52:52 -07003065config KRAIT_REGULATOR
3066 bool "Support Kraits powered via ganged regulators in the pmic"
3067 help
3068 Certain MSMs have the Krait CPUs powered via a single supply
3069 line from the PMIC. This supply line is powered by multiple
3070 regulators running in ganged mode inside the PMIC. Enable
3071 this option to support such configurations.
Brian Swetland9e73c842007-11-26 04:12:13 -08003072endif