blob: f2d65fea94a742bfbed5c9c93aafce16e5930b63 [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
Saravana Kannancadc8932013-11-22 16:46:16 -0800264 select PM_DEVFREQ
265 select MSM_DEVFREQ_CPUBW
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700266 select MSM_PIL
Praveen Chidambaramaa9d52b2012-04-02 11:09:47 -0600267 select MSM_SPM_V2
268 select MSM_L2_SPM
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700269 select MSM_NATIVE_RESTART
270 select MSM_RESTART_V2
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700271 select MSM_PM if PM
Steve Mucklef132c6c2012-06-06 18:30:57 -0700272 select MAY_HAVE_SPARSE_IRQ
273 select SPARSE_IRQ
Mahesh Sivasubramaniancb668712012-04-04 13:03:25 -0600274 select MSM_RPM_SMD
David Collinsc7642322012-04-04 10:19:12 -0700275 select REGULATOR
Joonwoo Park91d95462012-08-02 10:55:54 -0700276 select MSM_QDSP6_APRV2
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700277 select MSM_QDSP6V2_CODECS
278 select MSM_AUDIO_QDSP6V2 if SND_SOC
David Collins1c91ea72012-05-03 16:17:35 -0700279 select MSM_RPM_REGULATOR_SMD
Laura Abbottb14ed962012-01-30 14:18:08 -0800280 select ARM_HAS_SG_CHAIN
Karthik Parsha404fb8f2012-07-30 19:14:05 -0700281 select MSM_RUN_QUEUE_STATS
Neeti Desai92eab922012-10-22 15:14:48 -0700282 select MEMORY_HOLE_CARVEOUT
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -0700283 select MSM_RPM_STATS_LOG
Karthikeyan Ramasubramanian1edce9e2012-11-08 18:26:10 -0700284 select QMI_ENCDEC
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +0200285 select MSM_ULTRASOUND_B
Priyanka Mathur94abc462012-12-11 16:34:52 -0800286 select MSM_RPM_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700287 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Abhijeet Dharmapurikar719c96b2013-07-19 11:52:52 -0700288 select KRAIT_REGULATOR
Neeti Desai30c7b1c2013-10-25 11:47:12 -0700289 select ENABLE_VMALLOC_SAVINGS
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700290
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -0700291config ARCH_APQ8084
292 bool "APQ8084"
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800293 select ARCH_MSM_KRAITMP
294 select GPIO_MSM_V3
295 select ARM_GIC
296 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700297 select MSM_SCM
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800298 select MSM_GPIOMUX
299 select MULTI_IRQ_HANDLER
300 select MSM_NATIVE_RESTART
301 select MSM_RESTART_V2
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700302 select MSM_PM if PM
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800303 select MAY_HAVE_SPARSE_IRQ
304 select SPARSE_IRQ
305 select REGULATOR
306 select ARM_HAS_SG_CHAIN
Stepan Moskovchenko3a5ae972013-03-08 16:46:29 -0800307 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Laura Abbottb46c18d2013-04-12 09:36:44 -0700308 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Laura Abbott4eafd072013-05-17 17:46:53 -0700309 select MEMORY_HOLE_CARVEOUT
Jeff Hugoff3fbd62013-05-21 09:51:05 -0600310 select QMI_ENCDEC
Praveen Chidambaram6593c3d2013-05-30 15:33:15 -0600311 select MSM_SPM_V2
312 select MSM_L2_SPM
Praveen Chidambaram6593c3d2013-05-30 15:33:15 -0600313 select MSM_RPM_SMD
Saravana Kannancadc8932013-11-22 16:46:16 -0800314 select PM_DEVFREQ
315 select MSM_DEVFREQ_CPUBW
Neeti Desai30c7b1c2013-10-25 11:47:12 -0700316 select ENABLE_VMALLOC_SAVINGS
Stepan Moskovchenkob6ae7882013-01-24 15:47:18 -0800317
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530318config ARCH_MPQ8092
319 bool "MPQ8092"
320 select ARCH_MSM_KRAITMP
Saravana Kannancadc8932013-11-22 16:46:16 -0800321 select PM_DEVFREQ
322 select MSM_DEVFREQ_CPUBW
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +0530323 select GPIO_MSM_V3
324 select ARM_GIC
325 select MULTI_IRQ_HANDLER
326 select CPU_V7
327 select MSM_GPIOMUX
328 select MAY_HAVE_SPARSE_IRQ
329 select SPARSE_IRQ
330 select MSM_NOPM
331
Rohit Vaswani6d7461972013-03-20 19:15:30 -0700332config ARCH_FSM9900
333 bool "FSM9900"
334 select ARCH_MSM_KRAITMP
335 select GPIO_MSM_V3
336 select ARM_GIC
337 select CPU_V7
338 select MSM_SCM
339 select MSM_GPIOMUX
340 select MULTI_IRQ_HANDLER
Saravana Kannancadc8932013-11-22 16:46:16 -0800341 select PM_DEVFREQ
342 select MSM_DEVFREQ_CPUBW
Rohit Vaswani6d7461972013-03-20 19:15:30 -0700343 select MSM_PIL
344 select MSM_NATIVE_RESTART
345 select MSM_RESTART_V2
346 select MAY_HAVE_SPARSE_IRQ
347 select SPARSE_IRQ
348 select REGULATOR
349 select ARM_HAS_SG_CHAIN
350 select MSM_RUN_QUEUE_STATS
351 select MSM_NOPM
352
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353config ARCH_FSM9XXX
354 bool "FSM9XXX"
355 select ARCH_MSM_SCORPION
356 select MSM_VIC
357 select CPU_V7
358 select MSM_REMOTE_SPINLOCK_LDREX
Steve Mucklef132c6c2012-06-06 18:30:57 -0700359 select GPIO_FSM9XXX
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530360 select MULTI_IRQ_HANDLER
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -0800361 select MSM_DALRPC
Daniel Walker4ad15e62010-05-06 13:54:17 -0700362
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700363config ARCH_MSM9615
364 bool "MSM9615"
365 select ARM_GIC
Taniya Dasb241bd82012-03-19 17:58:06 +0530366 select GIC_SECURE
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700367 select ARCH_MSM_CORTEX_A5
368 select CPU_V7
Rohit Vaswani4307c842012-10-11 15:50:05 -0700369 select MIGHT_HAVE_CACHE_L2X0
Steve Mucklef132c6c2012-06-06 18:30:57 -0700370 select GPIO_MSM_V2
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -0700371 select MSM_GPIOMUX
Praveen Chidambaramab3b1c42011-08-25 08:44:05 -0600372 select MSM_RPM
Maheshkumar Sivasubramanian738b4582011-09-06 17:26:24 -0600373 select MSM_SPM_V2
Rohit Vaswanif688fa62011-10-13 18:13:10 -0700374 select MSM_NATIVE_RESTART
Matt Wagantall9274df92011-12-15 11:11:05 -0800375 select REGULATOR
376 select MSM_RPM_REGULATOR
Marc Zyngier89bdafd12011-12-22 11:39:20 +0530377 select MULTI_IRQ_HANDLER
Matt Wagantall88b86312012-01-31 16:53:03 -0800378 select MSM_PM8X60 if PM
Vikram Mulukutla2021c002011-12-16 12:32:59 -0800379 select MSM_XO
Olav Haugane6a0acd2012-04-05 09:29:12 -0700380 select MSM_MULTIMEDIA_USE_ION
Shiv Maliyappanahalli9ec55e92012-01-09 14:44:59 -0800381 select MSM_QDSP6_APR
382 select MSM_AUDIO_QDSP6 if SND_SOC
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800383 select FIQ
Laura Abbottb14ed962012-01-30 14:18:08 -0800384 select ARM_HAS_SG_CHAIN
Matt Wagantall9274df92011-12-15 11:11:05 -0800385
Taniya Das43bcdd62011-12-02 17:33:27 +0530386config ARCH_MSM8625
387 bool "MSM8625"
388 select ARCH_MSM_CORTEX_A5
389 select CPU_V7
Steve Mucklef132c6c2012-06-06 18:30:57 -0700390 select GPIO_MSM_V1
Taniya Das43bcdd62011-12-02 17:33:27 +0530391 select MSM_GPIOMUX
392 select ARM_GIC
393 select ARCH_MSM_CORTEXMP
394 select MULTI_IRQ_HANDLER
Trilok Soni3a453992012-03-06 18:46:22 +0530395 select ARM_TICKET_LOCKS
Krishna Vankae2922052012-03-02 09:59:12 +0530396 select MSM_RUN_QUEUE_STATS
Trilok Sonib856ab92012-06-26 14:33:28 +0530397 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530398 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500399 select CPU_HAS_L2_PMU
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700400
401config ARCH_MSM9625
402 bool "MSM9625"
403 select ARM_GIC
Abhimanyu Kapur490d20c2012-06-22 17:34:20 -0700404 select MIGHT_HAVE_CACHE_L2X0
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700405 select ARCH_MSM_CORTEX_A5
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700406 select CPU_V7
Abhimanyu Kapur37398ac2013-03-26 14:58:49 -0700407 select MSM_SCM
Jin Hong690e3352012-05-02 09:25:05 -0700408 select MSM_GPIOMUX
Girish Mahadevanf1c20a42012-09-19 11:44:36 -0600409 select MSM_RPM_SMD
Abhimanyu Kapur46e5e2b2012-10-02 20:45:37 -0700410 select MSM_NATIVE_RESTART
411 select MSM_RESTART_V2
Girish Mahadevan6e419562012-09-19 12:50:05 -0600412 select MSM_SPM_V2
413 select MSM_PM8X60 if PM
Rohit Vaswanifafe2492012-04-23 18:54:12 -0700414 select MULTI_IRQ_HANDLER
Rohit Vaswani61cf6ef2012-07-27 13:51:48 -0700415 select GPIO_MSM_V3
David Collins1cc6e402012-09-17 16:02:24 -0700416 select MAY_HAVE_SPARSE_IRQ
417 select SPARSE_IRQ
Anji Jonnala6f331d32013-06-04 14:56:52 +0530418 select CPU_FREQ_MSM
Mitchel Humpherys92e9b8a2012-10-08 18:12:47 -0700419 select MSM_MULTIMEDIA_USE_ION
Girish Mahadevane3be9302012-11-07 16:21:52 -0700420 select MSM_RPM_STATS_LOG
Venkat Sudhir0620e982012-11-15 16:04:36 -0800421 select MSM_QDSP6_APRV2
422 select MSM_QDSP6V2_CODECS
423 select MSM_AUDIO_QDSP6V2 if SND_SOC
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -0500424 select CPU_HAS_L2_PMU
Pratik Patel61e91702013-01-27 20:30:42 -0800425 select MSM_JTAG_MM if CORESIGHT_ETM
Neeti Desai5f3b0312012-11-07 11:20:03 -0800426 select MEMORY_HOLE_CARVEOUT
Priyanka Mathurdc424552013-02-22 16:30:53 -0800427 select MSM_RPM_LOG
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700428
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700429config ARCH_MSMKRYPTON
430 bool "MSMKRYPTON"
431 select ARM_GIC
432 select CPU_V7
433 select MSM_GPIOMUX
434 select MSM_RPM_SMD
435 select MSM_NATIVE_RESTART
436 select MSM_RESTART_V2
437 select MSM_SPM_V2
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700438 select MSM_PM if PM
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700439 select MULTI_IRQ_HANDLER
440 select GPIO_MSM_V3
441 select MAY_HAVE_SPARSE_IRQ
442 select SPARSE_IRQ
mengmeng6cf63692013-07-06 08:16:51 +0800443 select MEMORY_HOLE_CARVEOUT
Jeff Hugo0af48202013-07-12 15:02:52 -0600444 select QMI_ENCDEC
Patrick Daly09a7d7f2013-11-05 14:08:11 -0800445 select MSM_CORTEX_A7
Saravana Kannancadc8932013-11-22 16:46:16 -0800446 select PM_DEVFREQ
447 select MSM_DEVFREQ_CPUBW
Abhimanyu Kapur17284802013-03-18 17:00:49 -0700448
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -0800449config ARCH_MSM8610
450 bool "MSM8610"
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700451 select ARM_GIC
452 select GIC_SECURE
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700453 select ARCH_MSM_CORTEXMP
454 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700455 select MSM_SCM
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700456 select MAY_HAVE_SPARSE_IRQ
457 select SPARSE_IRQ
458 select MULTI_IRQ_HANDLER
Syed Rameez Mustafafe1d1a82013-05-03 14:24:42 -0700459 select ARM_TICKET_LOCKS
Syed Rameez Mustafa9232e5b2012-09-21 18:22:49 -0700460 select GPIO_MSM_V3
461 select MSM_GPIOMUX
Hanumant Singhe4271312012-10-24 13:27:57 -0700462 select MSM_NATIVE_RESTART
463 select MSM_RESTART_V2
Arun Menon7d2f1732013-01-16 15:20:56 -0800464 select MSM_QDSP6_APRV2
465 select MSM_QDSP6V2_CODECS
466 select MSM_AUDIO_QDSP6V2 if SND_SOC
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700467 select QMI_ENCDEC
Praveen Chidambaramee7b1652012-11-29 09:52:53 -0700468 select MSM_RPM_SMD
469 select MSM_SPM_V2
470 select MSM_L2_SPM
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700471 select MSM_PM if PM
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700472 select MEMORY_HOLE_CARVEOUT
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700473 select MSM_BUS_SCALING
Patrick Daly09a7d7f2013-11-05 14:08:11 -0800474 select MSM_CORTEX_A7
Patrick Dalyd3ad9ff2012-11-06 11:07:27 -0800475 select CPU_FREQ_MSM
476 select CPU_FREQ
Saravana Kannancadc8932013-11-22 16:46:16 -0800477 select PM_DEVFREQ
478 select MSM_DEVFREQ_CPUBW
Patrick Daly9e3fca92013-01-30 13:53:57 -0800479 select MSM_PIL
Siddharth Vermaead71842013-02-27 14:25:27 -0800480 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800481 select ARM_HAS_SG_CHAIN
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700482 select REGULATOR
483 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700484 select MSM_SPM_REGULATOR
Aparna Das258c1722013-03-28 17:20:50 -0700485 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruande543ba2013-03-26 14:52:11 -0700486 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700487 select MSM_RPM_LOG
Olav Haugand6cf04b2013-10-01 09:26:04 -0700488 select MSM_IOMMU_SYNC
Priyanka Mathur6c469162013-04-03 13:04:13 -0700489 select MSM_RPM_STATS_LOG
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700490
491config ARCH_MSM8226
492 bool "MSM8226"
493 select ARM_GIC
494 select GIC_SECURE
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700495 select ARCH_MSM_CORTEXMP
496 select CPU_V7
Stepan Moskovchenko1eeff362013-05-14 19:28:55 -0700497 select MSM_SCM
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700498 select MAY_HAVE_SPARSE_IRQ
499 select SPARSE_IRQ
500 select MULTI_IRQ_HANDLER
Syed Rameez Mustafafe1d1a82013-05-03 14:24:42 -0700501 select ARM_TICKET_LOCKS
Syed Rameez Mustafa9ee80102012-11-02 14:41:04 -0700502 select GPIO_MSM_V3
503 select MSM_GPIOMUX
Syed Rameez Mustafaf1bdd712012-11-20 14:56:44 -0800504 select MSM_NATIVE_RESTART
505 select MSM_RESTART_V2
Bhalchandra Gajare4e08f632012-12-18 11:54:35 -0800506 select MSM_QDSP6_APRV2
507 select MSM_QDSP6V2_CODECS
508 select MSM_AUDIO_QDSP6V2 if SND_SOC
Karthikeyan Ramasubramaniand04c8652013-01-16 09:03:51 -0700509 select QMI_ENCDEC
Praveen Chidambarama06f60d2012-11-29 09:52:53 -0700510 select MSM_RPM_SMD
511 select MSM_SPM_V2
512 select MSM_L2_SPM
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700513 select MSM_PM if PM
Neeti Desaibfedbd32012-11-21 13:19:36 -0800514 select MEMORY_HOLE_CARVEOUT
Gagan Mace1ec9522013-02-01 12:10:21 -0700515 select MSM_BUS_SCALING
Patrick Daly09a7d7f2013-11-05 14:08:11 -0800516 select MSM_CORTEX_A7
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700517 select CPU_FREQ_MSM
518 select CPU_FREQ
Saravana Kannancadc8932013-11-22 16:46:16 -0800519 select PM_DEVFREQ
520 select MSM_DEVFREQ_CPUBW
Syed Rameez Mustafa03ea34e2013-03-13 12:18:59 -0700521 select MSM_PIL
522 select MSM_RUN_QUEUE_STATS
Mitchel Humpherys3537e672013-03-04 20:21:19 -0800523 select ARM_HAS_SG_CHAIN
David Keitelc0092e12013-03-07 12:09:48 -0800524 select REGULATOR
525 select MSM_RPM_REGULATOR_SMD
David Collinsf2de39b2013-03-15 14:34:20 -0700526 select MSM_SPM_REGULATOR
Pushkar Joshi1bea8372013-03-06 18:26:37 -0800527 select MSM_JTAG_MM if CORESIGHT_ETM
Willie Ruan679eaf32013-03-21 13:30:40 -0700528 select MSM_CPR_REGULATOR
Priyanka Mathur6e0e2112013-04-03 12:58:52 -0700529 select MSM_RPM_LOG
Priyanka Mathur6c469162013-04-03 13:04:13 -0700530 select MSM_RPM_STATS_LOG
Laura Abbottb46c18d2013-04-12 09:36:44 -0700531 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Neeti Desai30c7b1c2013-10-25 11:47:12 -0700532 select ENABLE_VMALLOC_SAVINGS
Jay Chokshi4f549942013-05-10 17:52:28 -0700533
534config ARCH_MSMSAMARIUM
535 bool "MSMSAMARIUM"
536 select ARCH_MSM_KRAITMP
537 select GPIO_MSM_V3
538 select ARM_GIC
539 select CPU_V7
540 select MSM_SCM
Saravana Kannancadc8932013-11-22 16:46:16 -0800541 select PM_DEVFREQ
542 select MSM_DEVFREQ_CPUBW
Vikram Mulukutla55316ee2013-07-03 14:36:56 -0700543 select MSM_PIL
Jay Chokshi4f549942013-05-10 17:52:28 -0700544 select MSM_GPIOMUX
545 select MULTI_IRQ_HANDLER
546 select MSM_SPM_V2
547 select MSM_L2_SPM
548 select MSM_NATIVE_RESTART
549 select MSM_RESTART_V2
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700550 select MSM_PM if PM
Jay Chokshi4f549942013-05-10 17:52:28 -0700551 select MAY_HAVE_SPARSE_IRQ
552 select SPARSE_IRQ
553 select ARM_HAS_SG_CHAIN
554 select MSM_RUN_QUEUE_STATS
555 select ARCH_WANT_KMAP_ATOMIC_FLUSH
Jeff Hugo60702002013-06-13 15:25:40 -0600556 select QMI_ENCDEC
Stepan Moskovchenko1cd286f2011-08-03 19:03:02 -0700557endmenu
Daniel Walkerbf83de42010-03-16 16:29:44 -0700558
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700559choice
560 prompt "MSM SoC Revision"
561 default MSM_SOC_REV_NONE
562config MSM_SOC_REV_NONE
563 bool "N/A"
564 select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50
565 select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50
Daniel Walkerbf83de42010-03-16 16:29:44 -0700566config MSM_SOC_REV_A
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700567 bool "Rev. A"
568 select ARCH_MSM7X27A if ARCH_MSM7X27
Daniel Walkerbf83de42010-03-16 16:29:44 -0700569endchoice
570
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700571config MSM_KRAIT_TBB_ABORT_HANDLER
572 bool "Krait TBB/TBH data abort handler"
573 depends on ARCH_MSM_KRAIT
574 depends on ARM_THUMB
575 help
576 Certain early samples of the Krait processor may generate data
577 aborts for TBB / TBH instructions that fail their condition code
578 checks. Enabling this option will ignore these erroneous data aborts,
579 at the expense of a very small performance penalty.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800580
Stepan Moskovchenko00da0742011-07-08 14:06:44 -0700581 If unsure, say N.
Daniel Walkerbf83de42010-03-16 16:29:44 -0700582
583config ARCH_MSM_ARM11
584 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700585
Daniel Walkerbf83de42010-03-16 16:29:44 -0700586config ARCH_MSM_SCORPION
587 bool
588
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700589config ARCH_MSM_KRAIT
Daniel Walker46fe5f22010-08-18 11:00:25 -0700590 bool
Stephen Boyd51cabbe2011-12-02 13:28:56 -0800591 select ARM_L1_CACHE_SHIFT_6
Saravana Kannanc7a851a2013-09-23 19:27:57 -0700592 select DEVFREQ_GOV_MSM_CPUBW_HWMON
Daniel Walker46fe5f22010-08-18 11:00:25 -0700593
Patrick Daly09a7d7f2013-11-05 14:08:11 -0800594config MSM_CORTEX_A7
595 bool
596
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700597config MSM_SMP
Steve Mucklef132c6c2012-06-06 18:30:57 -0700598 select HAVE_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700599 bool
600
601config ARCH_MSM_SCORPIONMP
602 select ARCH_MSM_SCORPION
603 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530604 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800605 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700606 bool
607
608config ARCH_MSM_KRAITMP
609 select ARCH_MSM_KRAIT
610 select MSM_SMP
Taniya Dasc43e6872012-03-21 16:41:14 +0530611 select HAVE_ARCH_HAS_CURRENT_TIMER
Pratik Patel61e91702013-01-27 20:30:42 -0800612 select MSM_JTAG if CORESIGHT_ETM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700613 bool
614
Taniya Das43bcdd62011-12-02 17:33:27 +0530615config ARCH_MSM_CORTEXMP
616 select MSM_SMP
617 bool
618
Stepan Moskovchenko196f86e2012-07-13 20:40:46 -0700619config MSM_KRAIT_WFE_FIXUP
620 bool
621
Stepan Moskovchenkoa000d132012-08-14 21:05:14 -0700622config MSM_RESTART_V2
623 bool
624
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700625config ARCH_MSM_CORTEX_A5
Bryan Huntsman239ef1e2011-11-23 15:09:13 -0800626 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700627
628config ARCH_MSM7X27A
629 bool
630 select MSM_DALRPC
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700631 select MSM_PROC_COMM_REGULATOR
Taniya Das86e0e132011-10-19 11:32:00 +0530632 select MULTI_IRQ_HANDLER
Taniya Das43bcdd62011-12-02 17:33:27 +0530633 select ARM_GIC
634 select ARCH_MSM_CORTEXMP
Trilok Sonib856ab92012-06-26 14:33:28 +0530635 select MIGHT_HAVE_CACHE_L2X0
Chintan Pandya3544e742012-08-30 19:39:59 +0530636 select ARM_HAS_SG_CHAIN
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -0500637 select CPU_HAS_L2_PMU
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700638
Gregory Beanf9f3d312010-04-30 22:06:50 -0700639config MSM_VIC
640 bool
Daniel Walkerbf83de42010-03-16 16:29:44 -0700641
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700642config MSM_RPM
643 bool "Resource Power Manager"
644 select MSM_MPM
645
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600646config MSM_RPM_SMD
647 depends on MSM_SMD
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600648 select MSM_MPM_OF
649 bool "RPM driver using SMD protocol"
650 help
651 RPM is the dedicated hardware engine for managing shared SoC
652 resources. This config adds driver support for using SMD as a
653 transport layer communication with RPM hardware. It also selects
654 the MSM_MPM config that programs the MPM module to monitor interrupts
655 during sleep modes.
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600656
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700657config MSM_MPM
658 bool "Modem Power Manager"
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600659 help
660 MPM is a dedicated hardware resource responsible for entering and
661 waking up from a system wide low power mode. The MPM driver tracks
662 the wakeup interrupts and configures the MPM to monitor the wakeup
663 interrupts when going to a system wide sleep mode.
664
665config MSM_MPM_OF
666 bool "Modem Power Manager"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -0800667 depends on OF
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600668 help
669 MPM is a dedicated hardware resource responsible for entering and
670 waking up from a system wide low power mode. The MPM driver tracks
671 the wakeup interrupts and configures the MPM to monitor the wakeup
672 interrupts when going to a system wide sleep mode. This config option
673 enables the MPM driver that supports initialization from a device
674 tree
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700675
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800676config MSM_LPM_TEST
677 bool "Low Power Mode test framework"
Priyanka Mathur3abfd442013-01-11 12:58:51 -0800678 depends on MSM_RPM || MSM_RPM_SMD
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -0700679 depends on MSM_PM
Priyanka Mathur9a75ec52012-12-07 16:02:40 -0800680 help
681 LPM_TEST is a test framework that assists in exercising the low
682 power mode algorithm on MSM targets. This test framework tracks
683 notifications sent during entry/exit of the low power modes and
684 processes them to measure various stats including latency
685 measurement.
686
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700687config MSM_XO
688 bool
689
690config MSM_REMOTE_SPINLOCK_DEKKERS
691 bool
692config MSM_REMOTE_SPINLOCK_SWP
693 bool
694config MSM_REMOTE_SPINLOCK_LDREX
695 bool
Eric Holmbergeab10732011-09-23 19:44:43 -0600696config MSM_REMOTE_SPINLOCK_SFPB
697 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700698config MSM_ADM3
699 bool
700
701menu "MSM Board Selection"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700702
703config MACH_HALIBUT
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700704 depends on ARCH_MSM7X01A
705 depends on MSM_STACKED_MEMORY
706 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700707 bool "Halibut Board (QCT SURF7201A)"
708 help
709 Support for the Qualcomm SURF7201A eval board.
710
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700711config MACH_MSM7201A_SURF
712 depends on ARCH_MSM7X01A
713 depends on MSM_STACKED_MEMORY
714 default y
715 bool "MSM7201A SURF"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700716 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700717 Support for the Qualcomm MSM7201A SURF eval board.
718
719config MACH_MSM7201A_FFA
720 depends on ARCH_MSM7X01A
721 depends on MSM_STACKED_MEMORY
722 default y
723 bool "MSM7201A FFA"
724 help
725 Support for the Qualcomm MSM7201A FFA eval board.
726
727config MACH_TROUT
728 depends on ARCH_MSM7X01A
729 depends on MSM_STACKED_MEMORY
730 default y
731 bool "Trout"
732
733config MACH_MSM7X27_SURF
734 depends on ARCH_MSM7X27
735 depends on !MSM_STACKED_MEMORY
736 default y
737 bool "MSM7x27 SURF"
738 help
739 Support for the Qualcomm MSM7x27 SURF eval board.
740
741config MACH_MSM7X27_FFA
742 depends on ARCH_MSM7X27
743 depends on !MSM_STACKED_MEMORY
744 default y
745 bool "MSM7x27 FFA"
746 help
747 Support for the Qualcomm MSM7x27 FFA eval board.
748
749config MACH_MSM7X27A_RUMI3
750 depends on ARCH_MSM7X27A
751 depends on !MSM_STACKED_MEMORY
752 default y
753 bool "MSM7x27A RUMI3"
754 help
755 Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform.
756
757config MACH_MSM7X27A_SURF
758 depends on ARCH_MSM7X27A
759 depends on !MSM_STACKED_MEMORY
760 default y
761 bool "MSM7x27A SURF"
762 help
763 Support for the Qualcomm MSM7x27A SURF.
764
765config MACH_MSM7X27A_FFA
766 depends on ARCH_MSM7X27A
767 depends on !MSM_STACKED_MEMORY
768 default y
769 bool "MSM7x27A FFA"
770 help
771 Support for the Qualcomm MSM7x27A FFA.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700772
Trilok Soni3d0f6c52011-07-26 16:06:58 +0530773config MACH_MSM7625A_SURF
774 depends on ARCH_MSM7X27A
775 depends on !MSM_STACKED_MEMORY
776 default y
777 bool "MSM7625A SURF"
778 help
779 Support for the Qualcomm MSM7625A SURF.
780
781config MACH_MSM7625A_FFA
782 depends on ARCH_MSM7X27A
783 depends on !MSM_STACKED_MEMORY
784 default y
785 bool "MSM7625A FFA"
786 help
787 Support for the Qualcomm MSM7625A FFA.
788
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530789config MACH_MSM7627A_QRD1
790 depends on ARCH_MSM7X27A
791 depends on !MSM_STACKED_MEMORY
792 default y
793 bool "MSM7627A QRD1"
794 help
Chintan Pandyab1bad0e2012-02-06 19:04:51 +0530795 Support for the Qualcomm MSM7627A Reference Design.
796
797config MACH_MSM7627A_QRD3
798 depends on ARCH_MSM7X27A
799 depends on !MSM_STACKED_MEMORY
800 default y
801 bool "MSM7627A QRD3"
802 help
803 Support for the Qualcomm MSM7627A Reference Design.
Taniya Dasc98bfbc2011-08-23 09:58:55 +0530804
Taniya Dasc868a2e2012-01-03 10:18:47 +0530805config MACH_MSM7627A_EVB
806 depends on ARCH_MSM7X27A
807 depends on !MSM_STACKED_MEMORY
808 default y
809 bool "MSM7627A EVB"
810 help
811 Support for the Qualcomm MSM7627A Reference Design.
812
Taniya Das43bcdd62011-12-02 17:33:27 +0530813config MACH_MSM8625_RUMI3
814 depends on ARCH_MSM8625
815 depends on !MSM_STACKED_MEMORY
816 default y
817 bool "MSM8625 RUMI3"
818 help
819 Support for the Qualcomm MSM8625 RUMI3 Emulation Platform.
820
Taniya Dase3027e22012-02-27 16:32:27 +0530821config MACH_MSM8625_SURF
822 depends on ARCH_MSM8625
823 depends on !MSM_STACKED_MEMORY
824 default y
825 bool "MSM8625 SURF"
826 help
827 Support for the Qualcomm MSM8625 SURF.
828
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530829config MACH_MSM8625_FFA
830 depends on ARCH_MSM8625
831 depends on !MSM_STACKED_MEMORY
832 default y
833 bool "MSM8625 FFA"
834 help
835 Support for the Qualcomm MSM8625 FFA.
836
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530837config MACH_MSM8625_EVB
838 depends on ARCH_MSM8625
839 depends on !MSM_STACKED_MEMORY
840 default y
841 bool "MSM8625 EVB"
842 help
843 Support for the Qualcomm MSM8625 Reference Design.
844
Taniya Dasbd096542012-03-15 17:43:45 +0530845config MACH_MSM8625_QRD7
846 depends on ARCH_MSM8625
847 depends on !MSM_STACKED_MEMORY
848 default y
849 bool "MSM8625 QRD7"
850 help
851 Support for the Qualcomm MSM8625 Reference Design.
852
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530853config MACH_MSM8625_EVT
854 depends on ARCH_MSM8625
855 depends on !MSM_STACKED_MEMORY
856 default y
857 bool "MSM8625 EVT"
858 help
859 Support for the Qualcomm MSM8625 Reference Design.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700860
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530861config MACH_QRD_SKUD_PRIME
862 depends on ARCH_MSM8625
863 depends on !MSM_STACKED_MEMORY
864 default y
865 bool "MSM8625 SKUD PRIME"
866 help
867 Support for the Qualcomm MSM8625 SKUD prime Reference Design.
868 Add support for a SKUD prime reference design based on MSM8x25
869 chipset. This device is much closer to a phone than regular form
870 factor devices, with new touch, display panel and other hardware
871 configurations.
872
Daniel Walker7b521612010-05-06 12:44:57 -0700873config MACH_MSM7X30_SURF
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700874 depends on ARCH_MSM7X30
875 depends on !MSM_STACKED_MEMORY
876 default y
877 bool "MSM7x30 SURF"
878 help
879 Support for the Qualcomm MSM7x30 SURF eval board.
880
881config MACH_MSM7X30_FFA
882 depends on ARCH_MSM7X30
883 depends on !MSM_STACKED_MEMORY
884 default y
885 bool "MSM7x30 FFA"
886 help
887 Support for the Qualcomm MSM7x30 FFA eval board.
888
889config MACH_MSM7X30_FLUID
890 depends on ARCH_MSM7X30
891 depends on !MSM_STACKED_MEMORY
892 default y
893 bool "MSM7x30 FLUID"
894 help
895 Support for the Qualcomm MSM7x30 FLUID eval board.
896
897config MACH_SAPPHIRE
898 depends on ARCH_MSM7X01A
899 default n
900 bool "Sapphire"
Daniel Walker7b521612010-05-06 12:44:57 -0700901
Daniel Walker4ad15e62010-05-06 13:54:17 -0700902config MACH_QSD8X50_SURF
903 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700904 depends on MSM_SOC_REV_NONE
905 depends on MSM_STACKED_MEMORY
906 default y
Daniel Walker4ad15e62010-05-06 13:54:17 -0700907 bool "QSD8x50 SURF"
908 help
909 Support for the Qualcomm QSD8x50 SURF eval board.
910
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700911config MACH_QSD8X50_FFA
Daniel Walker4ad15e62010-05-06 13:54:17 -0700912 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700913 depends on MSM_SOC_REV_NONE
914 depends on MSM_STACKED_MEMORY
915 default y
916 bool "QSD8x50 FFA"
Daniel Walker4ad15e62010-05-06 13:54:17 -0700917 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700918 Support for the Qualcomm QSD8x50 FFA eval board.
919
920config MACH_MSM7X25_SURF
921 depends on ARCH_MSM7X25
922 depends on !MSM_STACKED_MEMORY
923 default y
924 bool "MSM7x25 SURF"
925 help
926 Support for the Qualcomm MSM7x25 SURF eval board.
927
928config MACH_MSM7X25_FFA
929 depends on ARCH_MSM7X25
930 depends on !MSM_STACKED_MEMORY
931 default y
932 bool "MSM7x25 FFA"
933 help
934 Support for the Qualcomm MSM7x25 FFA eval board.
935
936config MACH_MSM8X55_SURF
937 depends on ARCH_MSM7X30
938 depends on !MSM_STACKED_MEMORY
939 default y
940 bool "MSM8X55 SURF"
941 help
942 Support for the Qualcomm MSM8x55 SURF eval board.
943
944config MACH_MSM8X55_FFA
945 depends on ARCH_MSM7X30
946 depends on !MSM_STACKED_MEMORY
947 default y
948 bool "MSM8X55 FFA"
949 help
950 Support for the Qualcomm MSM8x55 FFA eval board.
951
952config MACH_MSM8X55_SVLTE_FFA
953 depends on ARCH_MSM7X30
954 depends on !MSM_STACKED_MEMORY
955 default y
956 bool "MSM8X55 SVLTE FFA"
957 help
958 Support for the Qualcomm MSM8x55 SVLTE FFA eval board.
959
960config MACH_MSM8X55_SVLTE_SURF
961 depends on ARCH_MSM7X30
962 depends on !MSM_STACKED_MEMORY
963 default y
964 bool "MSM8X55 SVLTE SURF"
965 help
966 Support for the Qualcomm MSM8x55 SVLTE SURF eval board.
Daniel Walker4ad15e62010-05-06 13:54:17 -0700967
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700968config MACH_MSM8X60_SURF
969 depends on ARCH_MSM8X60
970 default n
971 bool "MSM8x60 SURF"
972 help
973 Support for the Qualcomm MSM8x60 SURF eval board.
974
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700975config MACH_MSM8X60_FFA
976 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700977 default n
Gregory Bean69b7f6f2010-04-04 22:29:02 -0700978 bool "MSM8x60 FFA"
979 help
980 Support for the Qualcomm MSM8x60 FFA eval board.
981
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700982config MACH_MSM8X60_FLUID
983 depends on ARCH_MSM8X60
984 default n
985 bool "MSM8x60 FLUID"
986 help
987 Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an
988 8x60 target which has a form factor that is much closer to that
989 of a phone than other targets. It also has a new display and
990 touchscreen controller.
991
992config MACH_MSM8X60_FUSION
993 depends on ARCH_MSM8X60
994 default n
995 bool "MSM8x60 FUSION"
996 help
997 Support for the Qualcomm MSM8x60 Fusion SURF device.
998
999config MACH_MSM8X60_FUSN_FFA
1000 depends on ARCH_MSM8X60
1001 default n
1002 bool "MSM8x60 FUSN FFA"
1003 help
1004 Support for the Qualcomm MSM8x60 Fusion FFA device.
1005
Zhang Chang Kenef05b172011-07-27 15:28:13 -04001006config MACH_MSM8X60_DRAGON
1007 depends on ARCH_MSM8X60
1008 default n
1009 bool "MSM8x60 DRAGON"
1010 help
1011 Support for the Qualcomm MSM8x60 Dragon board.
1012
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001013config MACH_MSM8960_CDP
1014 depends on ARCH_MSM8960
1015 bool "MSM8960 CDP"
1016 help
1017 Support for the Qualcomm MSM8960 CDP device.
1018
1019config MACH_MSM8960_MTP
1020 depends on ARCH_MSM8960
1021 bool "MSM8960 MTP"
1022 help
1023 Support for the Qualcomm MSM8960 MTP device.
1024
1025config MACH_MSM8960_FLUID
1026 depends on ARCH_MSM8960
1027 bool "MSM8960 FLUID"
1028 help
1029 Support for the Qualcomm MSM8960 FLUID device.
1030
Amir Samuelov0d1f8ae2011-07-28 11:13:58 +03001031config MACH_MSM8960_LIQUID
1032 depends on ARCH_MSM8960
1033 bool "MSM8960 LIQUID"
1034 help
1035 Support for the Qualcomm MSM8960 LIQUID device.
1036
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001037config MACH_MSM8930_CDP
1038 depends on ARCH_MSM8930
1039 bool "MSM8930 CDP"
1040 help
1041 Support for the Qualcomm MSM8930 CDP device.
1042
1043config MACH_MSM8930_MTP
1044 depends on ARCH_MSM8930
1045 bool "MSM8930 MTP"
1046 help
1047 Support for the Qualcomm MSM8930 MTP device.
1048
1049config MACH_MSM8930_FLUID
1050 depends on ARCH_MSM8930
1051 bool "MSM8930 FLUID"
1052 help
1053 Support for the Qualcomm MSM8930 FLUID device.
1054
Stepan Moskovchenko8768eff2011-12-01 18:55:07 -08001055config MACH_MSM8627_CDP
1056 depends on ARCH_MSM8930
1057 bool "MSM8627 CDP"
1058 help
1059 Support for the Qualcomm MSM8627 CDP device.
1060
1061config MACH_MSM8627_MTP
1062 depends on ARCH_MSM8930
1063 bool "MSM8627 MTP"
1064 help
1065 Support for the Qualcomm MSM8627 MTP device.
1066
Rohit Vaswania8e7a832011-09-28 21:00:05 -07001067config MACH_MSM9615_CDP
1068 depends on ARCH_MSM9615
1069 bool "MSM9615 CDP"
1070 help
1071 Support for the Qualcomm MSM9615 CDP device.
1072
1073config MACH_MSM9615_MTP
1074 depends on ARCH_MSM9615
1075 bool "MSM9615 MTP"
1076 help
1077 Support for the Qualcomm MSM9615 MTP device.
1078
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001079config MSM_USE_TSIF1
1080 depends on ARCH_MSM8X60
1081 bool "MSM8x60 use TSIF1"
1082 help
1083 Selects TSIF1 core to be used rather than TSIF0.
1084 The two TSIF cores share the same DM configuration
1085 so they cannot be used simultaneously.
1086
Joel King82b7e3f2012-01-05 10:03:27 -08001087config MACH_APQ8064_CDP
1088 depends on ARCH_APQ8064
1089 bool "APQ8064 CDP"
1090 help
1091 Support for the Qualcomm APQ8064 CDP device.
1092
Rohit Vaswani4375c802013-01-09 13:38:19 -08001093config MACH_FSM8064_EP
1094 depends on ARCH_APQ8064
1095 bool "FSM8064 EP"
1096 help
1097 Support for the Qualcomm FSM8064 EP device.
1098 This board also known as Femto development platform (FDP)
1099 is based on APQ8064 chipset. This board does not support
1100 keyboard, display or multimedia.
1101
Joel King82b7e3f2012-01-05 10:03:27 -08001102config MACH_APQ8064_MTP
1103 depends on ARCH_APQ8064
1104 bool "APQ8064 MTP"
1105 help
1106 Support for the Qualcomm APQ8064 MTP device.
1107
1108config MACH_APQ8064_LIQUID
1109 depends on ARCH_APQ8064
1110 bool "APQ8064 LIQUID"
1111 help
1112 Support for the Qualcomm APQ8064 LIQUID device.
1113
Joel King064bbf82012-04-01 13:23:39 -07001114config MACH_MPQ8064_CDP
1115 depends on ARCH_APQ8064
1116 bool "MPQ8064 CDP"
1117 help
1118 Support for the Qualcomm MPQ8064 CDP device.
1119
Joel King11ca8202012-02-13 16:19:03 -08001120config MACH_MPQ8064_HRD
1121 depends on ARCH_APQ8064
1122 bool "MPQ8064 HRD"
1123 help
1124 Support for the Qualcomm MPQ8064 HRD device.
1125
1126config MACH_MPQ8064_DTV
1127 depends on ARCH_APQ8064
1128 bool "MPQ8064 DTV"
1129 help
1130 Support for the Qualcomm MPQ8064 DTV device.
1131
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001132config MACH_FSM9XXX_SURF
1133 depends on ARCH_FSM9XXX
1134 depends on !MSM_STACKED_MEMORY
1135 default y
1136 bool "FSM9XXX SURF"
1137 help
1138 Support for the Qualcomm FSM9xxx femtocell
1139 chipset based SURF evaluation board and
1140 FFA board.
1141
Daniel Walker4ad15e62010-05-06 13:54:17 -07001142endmenu
Brian Swetland9e73c842007-11-26 04:12:13 -08001143
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001144config MSM_STACKED_MEMORY
1145 bool "Stacked Memory"
1146 default y
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001147 help
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001148 This option is used to indicate the presence of on-die stacked
1149 memory. When present this memory bank is used for a high speed
1150 shared memory interface. When not present regular RAM is used.
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001151
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001152config PHYS_OFFSET
1153 hex
Rohit Vaswaniddeb52a2011-08-16 12:26:32 -07001154 default "0x40800000" if ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001155 default "0x80200000" if ARCH_APQ8064
1156 default "0x80200000" if ARCH_MSM8960
Stepan Moskovchenko082952d2011-10-18 17:27:08 -07001157 default "0x80200000" if ARCH_MSM8930
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001158 default "0x00000000" if ARCH_MSM8974
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001159 default "0x00000000" if ARCH_APQ8084
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301160 default "0x00000000" if ARCH_MPQ8092
Syed Rameez Mustafa1c99fd32013-03-05 22:11:17 -08001161 default "0x00000000" if ARCH_MSM8226
1162 default "0x00000000" if ARCH_MSM8610
Jay Chokshi4f549942013-05-10 17:52:28 -07001163 default "0x00000000" if ARCH_MSMSAMARIUM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001164 default "0x10000000" if ARCH_FSM9XXX
Rohit Vaswani6d7461972013-03-20 19:15:30 -07001165 default "0x00000000" if ARCH_FSM9900
Abhimanyu Kapur20ac2ad2012-09-25 04:23:59 -07001166 default "0x00200000" if ARCH_MSM9625
Abhimanyu Kapur38226352013-04-23 17:14:57 -07001167 default "0x00000000" if ARCH_MSMKRYPTON
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001168 default "0x00200000" if !MSM_STACKED_MEMORY
1169 default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A
1170 default "0x20000000" if ARCH_QSD8X50
1171 default "0x40200000" if ARCH_MSM8X60
1172 default "0x10000000"
Stepan Moskovchenko24f61732011-02-11 12:28:16 -08001173
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001174config KERNEL_MSM_CONTIG_MEM_REGION
1175 bool "Enable in-kernel contiguous memory region"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001176 default y if ARCH_MSM8X60
Laura Abbottc1fa75b2013-04-02 14:29:53 -07001177 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001178 help
Mitchel Humpherys05e58812012-08-13 14:24:13 -07001179 Enable the in-kernel contiguous memory allocator. Sets up a
1180 region of physically contiguous memory. This memory is
1181 reserved during initialization, and can be used
1182 generically.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001183
1184config KERNEL_PMEM_SMI_REGION
1185 bool "Enable in-kernel PMEM region for SMI"
1186 default y if ARCH_MSM8X60
Laura Abbott0913ebc2013-04-29 12:56:14 -07001187 depends on (ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM)
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001188 help
1189 Enable the in-kernel PMEM allocator to use SMI memory.
1190
1191config PMEM_GPU0
1192 bool "Enable PMEM GPU0 region"
1193 default y
Laura Abbott0913ebc2013-04-29 12:56:14 -07001194 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001195 help
1196 Enable the PMEM GPU0 device on SMI Memory.
1197
1198config MSM_AMSS_VERSION
1199 int
1200 default 6210 if MSM_AMSS_VERSION_6210
1201 default 6220 if MSM_AMSS_VERSION_6220
1202 default 6225 if MSM_AMSS_VERSION_6225
1203
1204choice
1205 prompt "AMSS modem firmware version"
1206
1207 default MSM_AMSS_VERSION_6225
1208
1209 config MSM_AMSS_VERSION_6210
1210 bool "6.2.10"
1211
1212 config MSM_AMSS_VERSION_6220
1213 bool "6.2.20"
1214
1215 config MSM_AMSS_VERSION_6225
1216 bool "6.2.20 + New ADSP"
1217endchoice
Stepan Moskovchenko2607b0a2010-11-15 17:46:10 -08001218
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001219config MSM_HAS_DEBUG_UART_HS
Daniel Walkerbf83de42010-03-16 16:29:44 -07001220 bool
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001221 help
1222 Say Y here if high speed MSM UART is present.
1223
1224config MSM_HAS_DEBUG_UART_HS_V14
1225 bool
1226 select MSM_HAS_DEBUG_UART_HS
1227 help
1228 Say Y here if high speed MSM UART v1.4 is present.
1229
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301230config MSM_DEBUG_UART_PHYS
1231 hex
1232 default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1
1233 default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1
1234 default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1
1235 default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2
1236 default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2
1237 default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2
1238 default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3
1239 default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3
1240
Brian Swetland9e73c842007-11-26 04:12:13 -08001241choice
1242 prompt "Debug UART"
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001243 depends on DEBUG_LL
Brian Swetland9e73c842007-11-26 04:12:13 -08001244
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001245 config DEBUG_MSM_UART1
1246 bool "Kernel low-level debugging messages via MSM UART1"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301247 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
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 first serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001251
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001252 config DEBUG_MSM_UART2
1253 bool "Kernel low-level debugging messages via MSM UART2"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301254 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001255 help
1256 Say Y here if you want the debug print routines to direct
1257 their output to the second serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001258
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001259 config DEBUG_MSM_UART3
1260 bool "Kernel low-level debugging messages via MSM UART3"
Taniya Dasfa4ee7f2012-02-21 15:04:51 +05301261 depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001262 help
1263 Say Y here if you want the debug print routines to direct
1264 their output to the third serial port on MSM devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001265
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001266 config DEBUG_MSM8660_UART
1267 bool "Kernel low-level debugging messages via MSM 8660 UART"
1268 depends on ARCH_MSM8X60
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001269 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001270 help
1271 Say Y here if you want the debug print routines to direct
1272 their output to the serial port on MSM 8660 devices.
Steve Mucklec8aabae2010-04-21 16:20:27 -07001273
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001274 config DEBUG_MSM8960_UART
1275 bool "Kernel low-level debugging messages via MSM 8960 UART"
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001276 depends on ARCH_MSM8960 && DEBUG_LL
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001277 select MSM_HAS_DEBUG_UART_HS
Sathish Ambleybb87d5f2011-11-08 15:14:01 -08001278 help
1279 Say Y here if you want the debug print routines to direct
1280 their output to the serial port on MSM 8960 devices.
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001281
Stepan Moskovchenko824db172012-05-29 18:05:09 -07001282 config DEBUG_MSM8930_UART
1283 bool "Kernel low-level debugging messages via MSM 8930 UART"
1284 depends on ARCH_MSM8930 && DEBUG_LL
1285 select MSM_HAS_DEBUG_UART_HS
1286 help
1287 Say Y here if you want the debug print routines to direct
1288 their output to the serial port on MSM 8930 devices.
1289
1290 config DEBUG_APQ8064_UART
1291 bool "Kernel low-level debugging messages via APQ 8064 UART"
1292 depends on ARCH_APQ8064 && DEBUG_LL
1293 select MSM_HAS_DEBUG_UART_HS
1294 help
1295 Say Y here if you want the debug print routines to direct
1296 their output to the serial port on APQ 8064 devices.
1297
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001298 config DEBUG_MSM8974_UART
1299 bool "Kernel low-level debugging messages via MSM 8974 UART"
1300 depends on ARCH_MSM8974
Sathish Ambleyf5bebd62011-11-03 23:36:36 -07001301 select MSM_HAS_DEBUG_UART_HS_V14
1302 help
1303 Say Y here if you want the debug print routines to direct
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -07001304 their output to the serial port on MSM 8974 devices.
Ravi Kumar Vb31dbba2012-08-31 22:40:22 +05301305
1306 config DEBUG_MPQ8092_UART
1307 bool "Kernel low-level debugging messages via MPQ8092 UART"
1308 depends on ARCH_MPQ8092
1309 select MSM_HAS_DEBUG_UART_HS_V14
1310 help
1311 Say Y here if you want the debug print routines to direct
1312 their output to the serial port on MPQ8092 devices.
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001313
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001314 config DEBUG_APQ8084_UART
1315 bool "Kernel low-level debugging messages via APQ8084 UART"
1316 depends on ARCH_APQ8084
Stepan Moskovchenko80064f32013-03-05 16:58:39 -08001317 select MSM_HAS_DEBUG_UART_HS_V14
1318 help
1319 Say Y here if you want the debug print routines to direct
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -07001320 their output to the serial port on APQ8084 devices.
Stephen Boydb9dedc62013-04-19 15:29:30 -07001321
1322 config DEBUG_MSM9625_UART
1323 bool "Kernel low-level debugging messages via MSM9625 UART"
1324 depends on ARCH_MSM9625
1325 select MSM_HAS_DEBUG_UART_HS_V14
1326 help
1327 Say Y here if you want the debug print routines to direct
1328 their output to the serial port on MSM9625 devices.
Rohit Vaswani6d7461972013-03-20 19:15:30 -07001329
1330 config DEBUG_FSM9900_UART
1331 bool "Kernel low-level debugging messages via FSM9900 UART"
1332 depends on ARCH_FSM9900
1333 select MSM_HAS_DEBUG_UART_HS_V14
1334 help
1335 Say Y here if you want the debug print routines to direct
1336 their output to the serial port on FSM9900 devices.
Jay Chokshi4f549942013-05-10 17:52:28 -07001337
1338 config DEBUG_MSMSAMARIUM_UART
1339 bool "Kernel low-level debugging messages via MSM SAMARIUM UART"
1340 depends on ARCH_MSMSAMARIUM
1341 select MSM_HAS_DEBUG_UART_HS_V14
1342 help
1343 Say Y here if you want the debug print routines to direct
1344 their output to the serial port on MSM SAMARIUM devices.
Subbaraman Narayanamurthy23317302013-06-17 17:09:24 -07001345
1346 config DEBUG_MSM8226_UART
1347 bool "Kernel low-level debugging messages via MSM 8226 UART"
1348 depends on ARCH_MSM8226
1349 select MSM_HAS_DEBUG_UART_HS_V14
1350 help
1351 Say Y here if you want the debug print routines to direct
1352 their output to the serial port on MSM 8226 devices.
Brian Swetland9e73c842007-11-26 04:12:13 -08001353endchoice
Brian Swetland9e73c842007-11-26 04:12:13 -08001354
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001355choice
1356 prompt "Default Timer"
1357 default MSM7X00A_USE_GP_TIMER
1358
1359 config MSM7X00A_USE_GP_TIMER
1360 bool "GP Timer"
1361 help
1362 Low resolution timer that allows power collapse from idle.
1363
1364 config MSM7X00A_USE_DG_TIMER
1365 bool "DG Timer"
1366 help
1367 High resolution timer.
1368endchoice
1369
1370choice
1371 prompt "Suspend sleep mode"
1372 default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1373 help
1374 Allows overriding the sleep mode used. Leave at power
1375 collapse suspend unless the arm9 image has problems.
1376
1377 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1378 bool "Power collapse suspend"
1379 help
1380 Lowest sleep state. Returns through reset vector.
1381
1382 config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1383 bool "Power collapse"
1384 help
1385 Sleep state that returns through reset vector.
1386
1387 config MSM7X00A_SLEEP_MODE_APPS_SLEEP
1388 bool "Apps Sleep"
1389
1390 config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1391 bool "Ramp down cpu clock and wait for interrupt"
1392
1393 config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1394 bool "Wait for interrupt"
1395endchoice
1396
1397config MSM7X00A_SLEEP_MODE
1398 int
1399 default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1400 default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE
1401 default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP
1402 default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1403 default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT
1404
1405choice
1406 prompt "Idle sleep mode"
1407 default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1408 help
1409 Allows overriding the sleep mode used from idle. Leave at power
1410 collapse suspend unless the arm9 image has problems.
1411
1412 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1413 bool "Power collapse suspend"
1414 help
1415 Lowest sleep state. Returns through reset vector.
1416
1417 config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1418 bool "Power collapse"
1419 help
1420 Sleep state that returns through reset vector.
1421
1422 config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1423 bool "Apps Sleep"
1424
1425 config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1426 bool "Ramp down cpu clock and wait for interrupt"
1427
1428 config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1429 bool "Wait for interrupt"
1430endchoice
1431
1432config MSM7X00A_IDLE_SLEEP_MODE
1433 int
1434 default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND
1435 default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE
1436 default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP
1437 default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT
1438 default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT
1439
1440config MSM7X00A_IDLE_SLEEP_MIN_TIME
1441 int "Minimum idle time before sleep"
1442 default 20000000
1443 help
1444 Minimum idle time in nanoseconds before entering low power mode.
1445
1446config MSM7X00A_IDLE_SPIN_TIME
1447 int "Idle spin time before cpu ramp down"
1448 default 80000
1449 help
1450 Spin time in nanoseconds before ramping down cpu clock and entering
1451 any low power state.
1452
1453menuconfig MSM_IDLE_STATS
1454 bool "Collect idle statistics"
1455 default y
1456 help
1457 Collect idle statistics and export them in proc/msm_pm_stats.
1458
1459if MSM_IDLE_STATS
1460
1461config MSM_IDLE_STATS_FIRST_BUCKET
1462 int "First bucket time"
1463 default 62500
1464 help
1465 Upper time limit in nanoseconds of first bucket.
1466
1467config MSM_IDLE_STATS_BUCKET_SHIFT
1468 int "Bucket shift"
1469 default 2
1470
1471config MSM_IDLE_STATS_BUCKET_COUNT
1472 int "Bucket count"
1473 default 10
1474
1475config MSM_SUSPEND_STATS_FIRST_BUCKET
1476 int "First bucket time for suspend"
1477 default 1000000000
1478 help
1479 Upper time limit in nanoseconds of first bucket of the
1480 histogram. This is for collecting statistics on suspend.
1481
1482endif # MSM_IDLE_STATS
1483
1484config CPU_HAS_L2_PMU
1485 bool "L2CC PMU Support"
1486 help
1487 Select this if the L2 cache controller has a Performance Monitoring Unit.
1488
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001489config HTC_HEADSET
1490 tristate "HTC 2 Wire detection driver"
1491 default n
1492 help
1493 Provides support for detecting HTC 2 wire devices, such as wired
1494 headset, on the trout platform. Can be used with the msm serial
1495 debugger, but not with serial console.
1496
1497config TROUT_BATTCHG
1498 depends on MACH_TROUT && POWER_SUPPLY
1499 default y
1500 bool "Trout battery / charger driver"
1501
1502config HTC_PWRSINK
1503 depends on MSM_SMD
1504 default n
1505 bool "HTC Power Sink Driver"
1506
1507config QSD_SVS
1508 bool "QSD Static Voltage Scaling"
1509 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1510 default y
1511 select TPS65023
1512 help
1513 Enables static voltage scaling using the TPS65023 PMIC.
1514
1515config QSD_PMIC_DEFAULT_DCDC1
1516 int "PMIC default output voltage"
1517 depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA)
1518 default 1250
1519 help
1520 This is the PMIC voltage at Linux kernel boot.
1521
1522config MSM_FIQ_SUPPORT
1523 default y
1524 bool "Enable installation of an FIQ handler."
1525
1526config MSM_SERIAL_DEBUGGER
1527 select MSM_FIQ_SUPPORT
1528 select KERNEL_DEBUGGER_CORE
1529 default n
1530 bool "FIQ Mode Serial Debugger"
1531 help
1532 The FIQ serial debugger can accept commands even when the
1533 kernel is unresponsive due to being stuck with interrupts
1534 disabled. Depends on the kernel debugger core in drivers/misc.
1535
1536config MSM_SERIAL_DEBUGGER_CONSOLE
1537 depends on MSM_SERIAL_DEBUGGER
1538 default n
1539 bool "Console on FIQ Serial Debugger port"
1540 help
1541 Enables a console so that printk messages are displayed on
1542 the debugger serial port as the occur.
Brian Swetland9e73c842007-11-26 04:12:13 -08001543
Gregory Beanab78cde2010-09-01 16:26:12 -07001544config MSM_PROC_COMM
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001545 default y
1546 bool "Proc-Comm RPC Interface"
1547 help
1548 Enables a lightweight communications interface to the
1549 baseband processor.
Gregory Beanab78cde2010-09-01 16:26:12 -07001550
Gregory Bean1963a2a2010-08-28 10:05:44 -07001551config MSM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001552 bool "MSM Shared Memory Driver (SMD)"
1553 help
1554 Support for the shared memory interface between the apps
1555 processor and the baseband processor. Provides access to
1556 the "shared heap", as well as virtual serial channels
1557 used to communicate with various services on the baseband
1558 processor.
1559
1560choice
1561 prompt "MSM Shared memory interface version"
1562 depends on MSM_SMD
1563 default MSM_SMD_PKG3 if ARCH_MSM_ARM11
1564 default MSM_SMD_PKG4 if ARCH_MSM_SCORPION
1565
1566 config MSM_SMD_PKG3
1567 bool
1568 prompt "Package 3"
1569
1570 config MSM_SMD_PKG4
1571 bool
1572 prompt "Package 4"
1573endchoice
1574
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001575config MSM_PCIE
1576 bool "MSM PCIe Controller driver"
1577 depends on PCI && PCI_MSI
1578 help
1579 Enables the PCIe functionality by configures PCIe core on
1580 MSM chipset and by enabling the ARM PCI framework extension.
1581
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001582config MSM_SMD_DEBUG
1583 depends on MSM_SMD
1584 default y
1585 bool "MSM SMD debug support"
1586 help
1587 Support for debugging the SMD for communication
1588 between the ARM9 and ARM11
1589
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001590config MSM_BAM_DMUX
1591 bool "BAM Data Mux Driver"
1592 depends on SPS
1593 default n
1594 help
1595 Support Muxed Data Channels over BAM interface.
1596 BAM has a limited number of pipes. This driver
1597 provides a means to support more logical channels
1598 via muxing than BAM could without muxing.
1599
1600config MSM_N_WAY_SMD
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001601 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001602 default y
1603 bool "MSM N-WAY SMD support"
1604 help
1605 Supports APPS-QDSP SMD communication along with
1606 normal APPS-MODEM SMD communication.
1607
1608config MSM_N_WAY_SMSM
Jeff Hugo0c0f5e92011-09-28 13:55:45 -06001609 depends on (MSM_SMD && !(ARCH_MSM7X01A))
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001610 default y
1611 bool "MSM N-WAY SMSM support"
1612 help
1613 Supports APPS-QDSP SMSM communication along with
1614 normal APPS-MODEM SMSM communication.
1615
Eric Holmberg6275b602012-11-19 13:05:04 -07001616config MSM_SMP2P
1617 bool "SMSM Point-to-Point (SMP2P)"
1618 depends on MSM_SMD
1619 help
1620 Provide point-to-point remote signaling support.
1621 SMP2P enables transferring 32-bit values between
1622 the local and a remote system using shared
1623 memory and interrupts. A client can open multiple
1624 32-bit values by specifying a unique string and
1625 remote processor ID.
1626
1627config MSM_SMP2P_TEST
1628 bool "SMSM Point-to-Point Test"
1629 depends on MSM_SMP2P
1630 help
1631 Enables loopback and unit testing support for
1632 SMP2P. Loopback support is used by other
1633 processors to do unit testing. Unit tests
1634 are used to verify the local and remote
1635 implementations.
1636
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001637config MSM_RESET_MODEM
1638 tristate "Reset Modem Driver"
1639 depends on MSM_SMD
1640 default m
1641 help
1642 Allows the user to reset the modem through a device node.
1643
1644config MSM_SMD_LOGGING
1645 depends on MSM_SMD
1646 default y
1647 bool "MSM Shared Memory Logger"
1648 help
1649 This option exposes the shared memory logger at /dev/smem_log
1650 and a debugfs node named smem_log.
1651
1652 If in doubt, say yes.
1653
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -06001654config MSM_IPC_LOGGING
1655 bool "MSM Debug Logging for IPC Drivers"
1656 help
1657 This option allows the debug logging for IPC Drivers.
1658
1659 If in doubt, say no.
1660
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001661config MSM_SMD_NMEA
1662 bool "NMEA GPS Driver"
1663 depends on MSM_SMD
1664 default y
1665 help
1666 Enable this to support the NMEA GPS device.
1667
1668 If in doubt, say yes.
1669
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001670config MSM_SMD_TTY
1671 bool "SMD TTY Driver"
1672 depends on MSM_SMD
1673 default y
1674 help
1675 Provides TTY interfaces to interact with the modem.
1676
1677 If in doubt, say yes.
1678
1679config MSM_SMD_QMI
1680 bool "SMD QMI Driver"
1681 depends on MSM_SMD
1682 default y
1683 help
1684 Manages network data connections.
1685
1686 If in doubt, say yes.
1687
1688config MSM_SMD_PKT
1689 bool "SMD Packet Driver"
1690 depends on MSM_SMD
1691 default y
1692 help
1693 Provides a binary SMD non-muxed packet port interface.
1694
1695 If in doubt, say yes.
1696
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001697config MSM_DSPS
1698 bool "Sensors DSPS driver"
1699 depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960))
1700 default n
1701 help
1702 Provides user-space interface to the sensors manager
1703 to turn on/off the Sensors Processor system clocks.
1704 It is the DSPS responsibility to turn on/off the sensors
1705 themself.
1706 The number of clocks and their name may vary between targets.
1707 It also triggers the PIL to load the DSPS firmware.
1708
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001709config MSM_ONCRPCROUTER
1710 depends on MSM_SMD
1711 default n
1712 bool "MSM ONCRPC router support"
1713 help
1714 Support for the MSM ONCRPC router for communication between
1715 the ARM9 and ARM11
1716
1717config MSM_IPC_ROUTER
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001718 depends on NET
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001719 default n
1720 bool "MSM IPC Router support"
1721 help
1722 Support for the MSM IPC Router for communication between
1723 the APPs and the MODEM
1724
Karthikeyan Ramasubramanianda45b432011-09-23 14:39:30 -06001725config MSM_IPC_ROUTER_SMD_XPRT
1726 depends on MSM_SMD
1727 depends on MSM_IPC_ROUTER
1728 default n
1729 bool "MSM SMD XPRT Layer"
1730 help
1731 SMD Transport Layer for IPC Router
1732
Karthikeyan Ramasubramanian38cde3f2013-04-24 17:11:57 -06001733config MSM_IPC_ROUTER_HSIC_XPRT
1734 depends on USB_QCOM_IPC_BRIDGE
1735 depends on MSM_IPC_ROUTER
1736 bool "MSM HSIC XPRT Layer"
1737 help
1738 HSIC Transport Layer that enables off-chip communication of
1739 IPC Router. When the HSIC endpoint becomes available, this layer
1740 registers the transport with IPC Router and enable message
1741 exchange.
1742
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -06001743config MSM_IPC_ROUTER_SECURITY
1744 depends on MSM_IPC_ROUTER
1745 bool "MSM IPC Router Security support"
1746 help
1747 This feature of IPC Router will enforce security rules
1748 configured by a security script from the user-space. IPC Router
1749 once configured with the security rules will ensure that the
1750 sender of the message to a service belongs to the relevant
1751 Linux group as configured by the security script.
1752
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -06001753config MSM_QMI_INTERFACE
1754 depends on MSM_IPC_ROUTER
1755 depends on QMI_ENCDEC
1756 default n
1757 bool "MSM QMI Interface Library"
1758 help
1759 Library to send and receive QMI messages over IPC Router.
1760 This library provides interface functions to the kernel drivers
1761 to perform QMI message marshaling and transport them over IPC
1762 Router.
1763
Karthikeyan Ramasubramaniana9859e82012-07-12 13:10:42 -06001764config MSM_TEST_QMI_CLIENT
1765 depends on MSM_QMI_INTERFACE
1766 bool "MSM TEST QMI CLIENT"
1767 help
1768 The sample QMI client provides a test code for QMI usage. The
1769 test_service client driver uses QMI interface library to send
1770 and receive QMI messages over IPC Router. The test code sends
1771 a synchronous QMI request to the test_service and handles the
1772 QMI responses.
1773
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001774config MSM_ONCRPCROUTER_DEBUG
1775 depends on MSM_ONCRPCROUTER
1776 default y
1777 bool "MSM debug ONCRPC router support"
1778 help
1779 Support for debugging the ONCRPC router for communication
1780 between the ARM9 and ARM11
1781
1782config MSM_RPC_LOOPBACK_XPRT
1783 depends on MSM_ONCRPCROUTER
1784 default n
1785 bool "MSM RPC local routing support"
1786 help
1787 Support for routing RPC messages between APPS clients
1788 and APPS servers. Helps in testing APPS RPC framework.
1789
1790config MSM_RPCSERVER_TIME_REMOTE
1791 depends on MSM_ONCRPCROUTER && RTC_HCTOSYS
1792 default y
1793 bool "Time remote RPC server"
1794 help
1795 The time remote server receives notification of time bases and
1796 reports these events to registered callback functions.
1797
1798config MSM_RPCSERVER_WATCHDOG
1799 depends on MSM_ONCRPCROUTER
1800 default y
1801 bool "Watchdog RPC server"
1802 help
1803 The dog_keepalive server handles watchdog events.
1804
1805config MSM_RPC_WATCHDOG
1806 depends on MSM_ONCRPCROUTER
1807 default n
1808 bool "Watchdog RPC client"
1809 help
1810 The dog_keepalive client module.
1811
1812config MSM_RPC_PING
1813 depends on MSM_ONCRPCROUTER && DEBUG_FS
1814 default m
1815 bool "MSM rpc ping"
1816 help
1817 Implements MSM rpc ping test module.
1818
1819config MSM_RPC_PROC_COMM_TEST
1820 depends on DEBUG_FS && MSM_PROC_COMM
1821 default m
1822 bool "MSM rpc proc comm test"
1823 help
1824 Implements MSM rpc proc comm test module.
1825
1826config MSM_RPC_OEM_RAPI
1827 depends on MSM_ONCRPCROUTER
1828 default m
1829 bool "MSM oem rapi"
1830 help
1831 Implements MSM oem rapi client module.
1832
1833config MSM_RPCSERVER_HANDSET
1834 depends on MSM_ONCRPCROUTER
1835 default y
1836 bool "Handset events RPC server"
1837 help
1838 Support for receiving handset events like headset detect,
1839 headset switch and clamshell state.
1840
1841config MSM_RMT_STORAGE_CLIENT
1842 depends on (ARCH_MSM && MSM_ONCRPCROUTER)
1843 default n
1844 bool "Remote Storage RPC client"
1845 help
1846 Provide RPC mechanism for remote processors to access storage
1847 device on apps processor.
1848
1849config MSM_RMT_STORAGE_CLIENT_STATS
1850 depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS)
1851 default n
1852 bool "Remote storage RPC client performance statistics"
1853 help
1854 Collects performance statistics and shows this information
1855 through a debugfs file rmt_storage_stats.
1856
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001857config MSM_DALRPC
1858 bool "DAL RPC support"
Bryan Huntsman18b3c0c2011-11-23 15:12:58 -08001859 default n
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001860 help
1861 Supports RPC calls to DAL devices on remote processor cores.
1862
1863config MSM_DALRPC_TEST
1864 tristate "DAL RPC test module"
1865 depends on (MSM_DALRPC && DEBUG_FS)
1866 default m
1867 help
1868 Exercises DAL RPC calls to QDSP6.
1869
1870if CPU_FREQ_MSM
1871
1872config MSM_CPU_FREQ_SET_MIN_MAX
1873 bool "Set Min/Max CPU frequencies."
1874 default n
1875 help
1876 Allow setting min and max CPU frequencies. Sysfs can be used
1877 to override these values.
1878
1879config MSM_CPU_FREQ_MAX
1880 int "Max CPU Frequency"
1881 depends on MSM_CPU_FREQ_SET_MIN_MAX
1882 default 384000
1883
1884config MSM_CPU_FREQ_MIN
1885 int "Min CPU Frequency"
1886 depends on MSM_CPU_FREQ_SET_MIN_MAX
1887 default 245760
1888
1889endif # CPU_FREQ_MSM
1890
Saravana Kannancadc8932013-11-22 16:46:16 -08001891config MSM_DEVFREQ_CPUBW
1892 bool "Devfreq device for CPU<->DDR IB/AB BW voting"
1893 depends on PM_DEVFREQ
1894 select DEVFREQ_GOV_PERFORMANCE
1895 select DEVFREQ_GOV_POWERSAVE
1896 select DEVFREQ_GOV_USERSPACE
Saravana Kannan4bbc9932013-11-24 03:45:00 -08001897 select DEVFREQ_GOV_MSM_CPUFREQ
Saravana Kannancadc8932013-11-22 16:46:16 -08001898 default n
1899 help
1900 Different devfreq governors use this devfreq device to make CPU to
1901 DDR IB/AB bandwidth votes. This driver provides a SoC topology
1902 agnostic interface to so that some of the devfreq governors can be
1903 shared across SoCs.
1904
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001905config MSM_AVS_HW
1906 bool "Enable Adaptive Voltage Scaling (AVS)"
1907 default n
1908 help
1909 Enable AVS hardware to fine tune voltage at each frequency. The
1910 AVS hardware blocks associated with each Qualcomm ARMv7 cores can
1911 fine tune the voltages based on the feedback from the ring
1912 oscillators.
1913
1914config MSM_HW3D
1915 tristate "MSM Hardware 3D Register Driver"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001916 help
1917 Provides access to registers needed by the userspace OpenGL|ES
1918 library.
1919
1920config MSM_ADSP
1921 depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27)
1922 tristate "MSM ADSP driver"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001923 default y
1924 help
1925 Provides access to registers needed by the userspace aDSP library.
1926
1927config ADSP_RPC_VER
1928 hex
1929 default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009))
1930 default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008))
1931 depends on MSM_ADSP
1932 help
1933 Select proper ADSP RPC version
1934choice
1935 prompt "ADSP RPC version"
1936
1937 default AMSS_7X25_VERSION_2009
1938
1939 config AMSS_7X25_VERSION_2009
1940 bool "2.0.09"
1941
1942 config AMSS_7X25_VERSION_2008
1943 bool "2.0.08"
1944endchoice
1945
1946config MSM7KV2_AUDIO
1947 bool "MSM7K v2 audio"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001948 depends on ARCH_MSM7X30
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001949 default y
1950 help
1951 Enables QDSP5V2-based audio drivers for audio playbacks and
1952 voice call.
1953
1954config MSM_ADSP_REPORT_EVENTS
1955 bool "Report modem events from the DSP"
1956 default y
1957 depends on (MSM_ADSP || MSM7KV2_AUDIO)
1958 help
1959 Normally, only messages from the aDSP are reported to userspace.
1960 With this option, we report events from the aDSP as well.
1961
1962config MSM_QDSP6
1963 tristate "QDSP6 support"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001964 depends on ARCH_QSD8X50
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001965 default y
1966 help
1967 Enable support for qdsp6. This provides audio and video functionality.
1968
1969config MSM8X60_AUDIO
1970 tristate "MSM8X60 audio support"
Laura Abbott0913ebc2013-04-29 12:56:14 -07001971 depends on ARCH_MSM8X60
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001972 default y
1973 help
1974 Enable support for qdsp6v2. This provides audio functionality.
1975
1976config MSM8X60_FTM_AUDIO_DEVICES
1977 bool "MSM8X60 audio factory test mode support"
1978 depends on MSM8X60_AUDIO
1979 help
1980 Enable support audio factory test mode devices. This is used
1981 in a production line environment.
1982
Ben Romberger45b351c2011-07-20 22:37:27 -07001983config RTAC
1984 bool "MSM8K real-time audio calibration support"
1985 default y
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001986 help
Ben Romberger45b351c2011-07-20 22:37:27 -07001987 Enable support for rtac. This enables calibration during
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001988 audio operation
1989
1990config MSM7X27A_AUDIO
1991 bool "MSM7X27A audio support"
1992 depends on ARCH_MSM7X27A && MSM_ADSP
1993 default n
1994 help
1995 Enable support for 7x27a. This provides audio functionality.
1996
Justin Pauporea6cd2092011-06-22 16:19:45 -07001997config MSM_PROC_COMM_REGULATOR
Gregory Bean1963a2a2010-08-28 10:05:44 -07001998 bool
Justin Pauporea6cd2092011-06-22 16:19:45 -07001999 depends on MSM_PROC_COMM && REGULATOR
2000 help
2001 Enable regulator framework support for regulators managed by PMLIB
2002 on the modem, and controlled through proccomm calls.
2003
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002004config MSM_VREG_SWITCH_INVERTED
2005 bool "Reverse vreg switch polarity"
2006 default n
2007 help
2008 Reverses the enable and disable for vreg switch.
2009
2010config MSM_DMA_TEST
2011 tristate "MSM DMA test module"
2012 default m
2013 help
2014 Intended to be compiled as a module. Provides a device node
2015 and ioctls for testing the MSM dma system.
2016
2017config WIFI_CONTROL_FUNC
2018 bool "Enable WiFi control function abstraction"
2019 help
2020 Enables Power/Reset/Carddetect function abstraction
2021
2022config WIFI_MEM_PREALLOC
2023 depends on WIFI_CONTROL_FUNC
2024 bool "Preallocate memory for WiFi buffers"
2025 help
2026 Preallocates memory buffers for WiFi driver
2027
2028config QSD_AUDIO
2029 bool "QSD audio"
Laura Abbott0913ebc2013-04-29 12:56:14 -07002030 depends on ARCH_MSM_SCORPION && MSM_DALRPC && !MSM_SMP
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002031 default y
2032 help
2033 Provides PCM, MP3, and AAC audio playback.
2034
2035config AUDIO_AAC_PLUS
2036 depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO)
2037 bool "AAC+ Audio"
2038 default y
2039 help
2040 Provides AAC+ decoding
2041
2042config AUDIO_ENHANCED_AAC_PLUS
2043 depends on AUDIO_AAC_PLUS
2044 bool "Enhanced AAC+ Audio"
2045 default y
2046 help
2047 Provides Enhanced AAC+ decoding
2048
2049config SURF_FFA_GPIO_KEYPAD
2050 bool "MSM SURF/FFA GPIO keypad"
2051 depends on INPUT_GPIO = "y"
2052 default y
2053 help
2054 Select if the GPIO keypad is attached.
2055
2056config MSM_SLEEP_TIME_OVERRIDE
2057 bool "Allow overriding suspend/sleep time with PM module parameter"
2058 default y
2059 help
2060 Enable the module parameter sleep_time_override. Specified
2061 in units of seconds, it overwrites the normal sleep time of
2062 suspend. The feature is required for automated power management
2063 testing.
2064
2065config MSM_MEMORY_LOW_POWER_MODE
2066 bool "Control the low power modes of memory"
2067 default n
2068 help
2069 The application processor controls whether memory should enter
2070 which low power mode.
2071
2072choice
2073 prompt "Default Memory Low Power Mode during Idle"
2074 depends on MSM_MEMORY_LOW_POWER_MODE
2075 default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2076 help
2077 Selects the default low power mode of the memory during idle
2078 sleep.
2079
2080 config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE
2081 bool "Memory active"
2082
2083 config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION
2084 bool "Memory in retention"
2085
2086 config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN
2087 bool "Memory in deep power down"
2088endchoice
2089
2090choice
2091 prompt "Default Memory Low Power Mode during Suspend"
2092 depends on MSM_MEMORY_LOW_POWER_MODE
2093 default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2094 help
2095 Selects the default low power mode of the memory during suspend
2096 sleep.
2097
2098 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE
2099 bool "Memory active"
2100
2101 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION
2102 bool "Memory in retention"
2103
2104 config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN
2105 bool "Memory in deep power down"
2106endchoice
2107
2108choice
2109 prompt "Power management timeout action"
2110 default MSM_PM_TIMEOUT_HALT
2111 help
2112 Selects the Application Processor's action when Power Management
2113 times out waiting for Modem's handshake.
2114
2115 config MSM_PM_TIMEOUT_HALT
2116 bool "Halt the Application Processor"
2117
2118 config MSM_PM_TIMEOUT_RESET_MODEM
2119 bool "Reset the Modem Processor"
2120
2121 config MSM_PM_TIMEOUT_RESET_CHIP
2122 bool "Reset the entire chip"
2123endchoice
2124
2125config MSM_IDLE_WAIT_ON_MODEM
2126 int "Wait for Modem to become ready for idle power collapse"
2127 default 0
2128 help
2129 If Modem is not ready to handle Application Processor's request
2130 for idle power collapse, wait the number of microseconds in case
2131 Modem becomes ready soon.
2132
Matt Wagantall9274df92011-12-15 11:11:05 -08002133config MSM_RPM_REGULATOR
2134 bool "RPM regulator driver"
Matt Wagantall32dc71e2012-01-04 11:13:11 -08002135 depends on MSM_RPM && REGULATOR
Matt Wagantall9274df92011-12-15 11:11:05 -08002136 help
2137 Compile in support for the RPM regulator driver, used for setting
2138 voltages and other parameters of the various power rails supplied
2139 by some Qualcomm PMICs.
2140
David Collinsc7642322012-04-04 10:19:12 -07002141config MSM_RPM_REGULATOR_SMD
2142 bool "SMD RPM regulator driver"
2143 depends on REGULATOR
2144 depends on OF
2145 depends on MSM_RPM_SMD
2146 help
2147 Compile in support for the SMD RPM regulator driver which is used for
2148 setting voltages and other parameters of the various power rails
2149 supplied by some Qualcomm PMICs. The SMD RPM regulator driver should
2150 be used on systems which contain an RPM which communicates with the
2151 application processor over SMD.
2152
David Collins037d6482013-03-14 16:53:33 -07002153config MSM_SPM_REGULATOR
2154 bool "SPM regulator driver"
2155 depends on REGULATOR && SPMI && OF_SPMI
2156 help
2157 Enable support for the SPM regulator driver which is used for
2158 setting voltages of processor supply regulators via the SPM module
2159 found inside of the MSM chips. The SPM regulator driver can be used
2160 on MSM systems where the APSS processor cores are supplied by their
2161 own PMIC regulator.
2162
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002163config MSM_SMCMOD
2164 tristate "Secure Monitor Call (SMC) Module"
2165 default n
Stanimir Varbanov87f5a502013-06-10 23:24:09 +03002166 depends on (ION && ION_MSM && MSM_SCM)
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002167 help
2168 Enable support for smcmod driver. This driver provides a mechanism
2169 to execute the Secure Monitor Call (SMC) to switch from non-secure
Stanimir Varbanov87f5a502013-06-10 23:24:09 +03002170 to secure execution in the fsm9xxx and msm8x26 targets. This module
2171 utilizes Ion for buffer management.
Rohit Vaswani5fd759e2012-11-07 07:05:08 -08002172
Stephen Boyd01710582012-07-09 13:40:05 -07002173config MSM_SUBSYSTEM_RESTART
2174 bool "MSM Subsystem Restart"
2175 help
2176 This option enables the MSM subsystem restart framework.
2177
2178 The MSM subsystem restart framework provides support to boot,
2179 shutdown, and restart subsystems with a reference counted API.
2180 It also notifies userspace of transitions between these states via
2181 sysfs.
2182
2183config MSM_SYSMON_COMM
2184 bool "MSM System Monitor communication support"
2185 depends on MSM_SMD && MSM_SUBSYSTEM_RESTART
2186 help
2187 This option adds support for MSM System Monitor library, which
2188 provides an API that may be used for notifying subsystems within
2189 the SoC about other subsystems' power-up/down state-changes.
2190
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002191config MSM_PIL
2192 bool "Peripheral image loading"
2193 select FW_LOADER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002194 default n
2195 help
2196 Some peripherals need to be loaded into memory before they can be
2197 brought out of reset.
2198
2199 Say yes to support these devices.
2200
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002201config MSM_PIL_MODEM
2202 tristate "Modem (ARM11) Boot Support"
Stephen Boyd3ac20732012-05-03 18:46:08 -07002203 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd4eb885b2011-09-29 01:16:03 -07002204 help
2205 Support for booting and shutting down ARM11 Modem processors.
2206
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002207config MSM_PIL_QDSP6V3
2208 tristate "QDSP6v3 (Hexagon) Boot Support"
Stephen Boyd2e19d932012-05-09 17:36:04 -07002209 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd3acc9e42011-09-28 16:46:40 -07002210 help
2211 Support for booting and shutting down QDSP6v3 processors (hexagon).
2212 The QDSP6 is a low power DSP used in audio software applications.
2213
Stephen Boydbdb53f32012-06-05 18:39:47 -07002214config MSM_PIL_LPASS_QDSP6V4
2215 tristate "LPASS QDSP6v4 (Hexagon) Boot Support"
Stephen Boyda1cf76b2012-06-13 12:05:35 -07002216 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydeb819882011-08-29 14:46:30 -07002217 help
Stephen Boydbdb53f32012-06-05 18:39:47 -07002218 Support for booting and shutting down QDSP6v4 processors (hexagon)
2219 in low power audio subsystems. If you would like to record or
2220 play audio then say Y here.
2221
2222 If unsure, say N.
2223
2224config MSM_PIL_MODEM_QDSP6V4
2225 tristate "Modem QDSP6v4 (Hexagon) Boot Support"
Stephen Boyd2efa9962012-06-12 14:20:12 -07002226 depends on MSM_SUBSYSTEM_RESTART
Stephen Boydbdb53f32012-06-05 18:39:47 -07002227 help
2228 Support for booting and shutting down QDSP6v4 processors (hexagon)
2229 in modem subsystems. If you would like to make or receive phone
2230 calls then say Y here.
2231
2232 If unsure, say N.
Stephen Boydeb819882011-08-29 14:46:30 -07002233
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002234config MSM_PIL_LPASS_QDSP6V5
Stephen Boyd633eb622012-06-13 12:05:35 -07002235 tristate "LPASS QDSP6v5 (Hexagon) Boot Support"
2236 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
2237 help
2238 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2239 in low power audio subsystems. This driver also monitors the ADSP
2240 SMSM status bits and the ADSP's watchdog interrupt and restarts the
2241 ADSP if the processor encounters a fatal error.
Matt Wagantall4e2599e2012-03-21 22:31:35 -07002242
2243config MSM_PIL_MSS_QDSP6V5
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002244 tristate "MSS QDSP6v5 (Hexagon) Boot Support"
2245 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantalle6e00d52012-03-08 17:39:07 -08002246 help
Stephen Boyd3da4fd02012-07-06 10:00:12 -07002247 Support for booting and shutting down QDSP6v5 (Hexagon) processors
2248 in modem subsystems. If you would like to make or receive phone
2249 calls then say Y here.
2250
2251 If unsure, say N.
Matt Wagantallc2bbdc32012-03-21 19:44:50 -07002252
Stephen Boyd322a9922011-09-20 01:05:54 -07002253config MSM_PIL_RIVA
2254 tristate "RIVA (WCNSS) Boot Support"
Stephen Boydfdec00d2012-05-10 17:04:49 -07002255 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd322a9922011-09-20 01:05:54 -07002256 help
2257 Support for booting and shutting down the RIVA processor (WCNSS).
2258 Riva is the wireless subsystem processor used in bluetooth, wireless
2259 LAN, and FM software applications.
2260
Stephen Boydd89eebe2011-09-28 23:28:11 -07002261config MSM_PIL_TZAPPS
2262 tristate "TZApps Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002263 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boydd89eebe2011-09-28 23:28:11 -07002264 help
2265 Support for booting and shutting down TZApps.
2266
2267 TZApps is an image that runs in the secure processor state. It is
2268 used to decrypt data and perform secure operations on the behalf of
2269 the kernel.
2270
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002271config MSM_PIL_DSPS
2272 tristate "DSPS Boot Support"
Stephen Boydf169b4b2012-05-10 17:55:55 -07002273 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd25c4a0b2011-09-20 00:12:36 -07002274 help
2275 Support for booting and shutting down ARM7 DSPS processors.
2276
2277 DSPS is a sensors offloading processor used for applications such
2278 as rotation detection, temperature, etc.
2279
Stephen Boyd7b973de2012-03-09 12:26:16 -08002280config MSM_PIL_VIDC
2281 tristate "Video Core Secure Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002282 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Stephen Boyd7b973de2012-03-09 12:26:16 -08002283 help
2284 Support for authenticating the video core image.
2285
Tianyi Gou828798d2012-05-02 21:12:38 -07002286config MSM_PIL_VENUS
2287 tristate "VENUS (Video) Boot Support"
Stephen Boyd046013f2012-06-28 20:24:17 -07002288 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gou828798d2012-05-02 21:12:38 -07002289 help
2290 Support for booting and shutting down the VENUS processor (Video).
2291 Venus is the Video subsystem processor used for video codecs.
2292
Matt Wagantall292aace2012-01-26 19:12:34 -08002293config MSM_PIL_GSS
Stephen Boydd86214b2012-05-10 15:26:35 -07002294 tristate "GSS (Cortex A5) Boot Support"
2295 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Matt Wagantall292aace2012-01-26 19:12:34 -08002296 help
2297 Support for booting and shutting down Cortex A5 processors which run
2298 GPS subsystem firmware.
2299
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002300config MSM_PIL_PRONTO
2301 tristate "PRONTO (WCNSS) Boot Support"
Stephen Boyd581fe852012-06-13 12:05:35 -07002302 depends on MSM_PIL && MSM_SUBSYSTEM_RESTART
Tianyi Gouc1e049f82011-11-23 14:20:16 -08002303 help
2304 Support for booting and shutting down the PRONTO processor (WCNSS).
2305 PRONTO is the wireless subsystem processor used in bluetooth, wireless
2306 LAN, and FM software applications.
2307
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002308config MSM_SCM
2309 bool "Secure Channel Manager (SCM) support"
2310 default n
2311
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002312config SCORPION_Uni_45nm_BUG
2313 bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA"
2314 depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A)
2315 default y
2316 help
2317 Invalidating the Instruction Cache by Modified Virtual Address to PoU and
2318 invalidating the Branch Predictor Array by Modified Virtual Address can
2319 create invalid entries in the TLB with the wrong ASID values on Scorpion
2320 Uniprocessor 45nm (SC45U) cores. This option enables the recommended software
2321 workaround for Scorpion Uniprocessor 45nm cores.
2322
2323 This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores.
2324
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002325config MSM_BUSPM_DEV
2326 tristate "MSM Bus Performance Monitor Kernel Module"
Gagan Macb8168702013-05-16 15:46:06 -06002327 depends on MSM_BUS_SCALING
2328 default n
Harini Jayaramanef7805f2011-09-28 12:45:31 -06002329 help
2330 This kernel module is used to mmap() hardware registers for the
2331 performance monitors, counters, etc. The module can also be used to
2332 allocate physical memory which is used by bus performance hardware to
2333 dump performance data.
2334
Mona Hossain11c03ac2011-10-26 12:42:10 -07002335config MSM_TZ_LOG
2336 tristate "MSM Trust Zone (TZ) Log Driver"
2337 depends on DEBUG_FS
2338 help
2339 This option enables a driver with a debugfs interface for messages
2340 produced by the Secure code (Trust zone). These messages provide
2341 diagnostic information about TZ operation.
2342
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002343config MSM_RPM_LOG
2344 tristate "MSM Resource Power Manager Log Driver"
2345 depends on DEBUG_FS
Priyanka Mathur49c60802012-12-13 12:53:58 -08002346 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002347 default n
2348 help
2349 This option enables a driver which can read from a circular buffer
2350 of messages produced by the RPM. These messages provide diagnostic
2351 information about RPM operation. The driver outputs the messages
2352 via a debugfs node.
2353
2354config MSM_RPM_STATS_LOG
2355 tristate "MSM Resource Power Manager Stat Driver"
2356 depends on DEBUG_FS
Priyanka Mathur1af9d4b2012-10-30 14:55:44 -07002357 depends on MSM_RPM || MSM_RPM_SMD
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002358 default n
2359 help
2360 This option enables a driver which reads RPM messages from a shared
2361 memory location. These messages provide statistical information about
2362 the low power modes that RPM enters. The drivers outputs the message
2363 via a debugfs node.
2364
Girish Mahadevan898c56d2012-06-05 16:09:19 -06002365config MSM_RPM_RBCPR_STATS_LOG
2366 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2367 depends on DEBUG_FS
2368 depends on MSM_RPM
2369 help
2370 This option enables a driver which reads RPM messages from a shared
2371 memory location. These messages provide statistical information about
2372 RBCPR (Rapid Bridge Core Power Reduction) information . The drivers
2373 outputs the message via a debugfs node.
2374
Girish Mahadevanb0ef7d52013-05-30 15:53:48 -06002375config MSM_RPM_RBCPR_STATS_V2_LOG
2376 tristate "MSM Resource Power Manager RPBCPR Stat Driver"
2377 depends on DEBUG_FS
2378 help
2379 This option enables v2 of the rpmrbcpr_stats driver which reads RPM
2380 memory for statistics pertaining to RPM's RBCPR(Rapid Bridge Core
2381 Power Reduction) driver. The drivers outputs the message via a
2382 debugfs node.
2383
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002384config MSM_DIRECT_SCLK_ACCESS
2385 bool "Direct access to the SCLK timer"
2386 default n
2387
2388config IOMMU_API
2389 bool
Gregory Bean1963a2a2010-08-28 10:05:44 -07002390
Brian Swetland9e73c842007-11-26 04:12:13 -08002391config MSM_GPIOMUX
2392 bool
2393
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002394config MSM_SECURE_IO
Brian Swetland9e73c842007-11-26 04:12:13 -08002395 bool
Stepan Moskovchenko0ab847452010-11-12 19:29:57 -08002396
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002397config MSM_NATIVE_RESTART
Stephen Boyd2a1eb582010-08-27 10:01:23 -07002398 bool
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002399
Taniya Dascd1d0232012-07-03 17:50:47 +05302400config MSM_MODEM_RESTART
2401 bool
2402
Matt Wagantall88b86312012-01-31 16:53:03 -08002403config MSM_PM2
2404 depends on PM
2405 bool
2406
Mahesh Sivasubramanian65d669b2013-11-15 09:53:14 -07002407config MSM_PM
Matt Wagantall88b86312012-01-31 16:53:03 -08002408 depends on PM
2409 bool
2410
Girish Mahadevan388c3082012-09-10 15:30:36 -06002411config MSM_EVENT_TIMER
2412 bool "Event timer"
2413 help
2414 This option enables a modules that manages a list of event timers that
2415 need to be monitored by the PM. The enables the PM code to monitor
2416 events that require the core to be awake and ready to handle the
2417 event.
2418
Matt Wagantall88b86312012-01-31 16:53:03 -08002419config MSM_NOPM
2420 default y if !PM
2421 bool
2422
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002423config MSM_BUS_SCALING
2424 bool "Bus scaling driver"
2425 default n
2426
Gagan Mac85c70492011-06-10 16:07:47 -06002427config MSM_BUS_RPM_MULTI_TIER_ENABLED
2428 bool "RPM Multi-tiering Configuration"
2429 depends on MSM_BUS_SCALING
2430
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002431config MSM_WATCHDOG
2432 bool "MSM Watchdog Support"
Rohit Vaswanie897f842012-03-19 14:19:34 -07002433 depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002434 help
2435 This enables the watchdog as is present on 8x60. Currently we use
2436 core 0's watchdog, and reset the entire SoC if it times out. It does
2437 not run during the bootup process, so it will not catch any early
2438 lockups.
2439
Hanumant Singhd1f01022012-07-05 14:21:53 -07002440config MSM_WATCHDOG_V2
2441 bool "MSM Watchdog Support"
2442 help
2443 This enables the watchdog module. It causes kernel panic if the
2444 watchdog times out. It allows for detection of cpu hangs and
2445 deadlocks. It does not run during the bootup process, so it will
2446 not catch any early lockups.
2447
Hanumant Singh5e2541c2012-07-31 14:41:14 -07002448config MSM_MEMORY_DUMP
2449 bool "MSM Memory Dump Support"
2450 help
2451 This enables memory dump feature. It allows various client
2452 subsystems to register respective dump regions. At the time
2453 of deadlocks or cpu hangs these dump regions are captured to
2454 give a snapshot of the system at the time of the crash.
2455
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002456config MSM_DLOAD_MODE
2457 bool "Enable download mode on crashes"
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002458 default n
2459 help
2460 This makes the SoC enter download mode when it resets
2461 due to a kernel panic. Note that this doesn't by itself
2462 make the kernel reboot on a kernel panic - that must be
2463 enabled via another mechanism.
2464
Pratik Patel17f3b822011-11-21 12:41:47 -08002465config MSM_JTAG
Pratik Patel61e91702013-01-27 20:30:42 -08002466 bool "Debug and ETM trace support across power collapse"
Pratik Patelfd6f56a2011-10-10 17:47:55 -07002467 help
Pratik Patel61e91702013-01-27 20:30:42 -08002468 Enables support for debugging (specifically breakpoints) and ETM
Pratik Patel2963de42012-05-17 12:43:40 -07002469 processor tracing across power collapse both for JTag and OS hosted
2470 software running on the target. Enabling this will ensure debug
2471 and ETM registers are saved and restored across power collapse.
2472
Pratik Patel61e91702013-01-27 20:30:42 -08002473 If unsure, say 'N' here to avoid potential power, performance and
2474 memory penalty.
Pratik Patel7831c082011-06-08 21:44:37 -07002475
Pushkar Joshi64cae782012-12-15 18:59:03 -08002476config MSM_JTAG_MM
Pratik Patel61e91702013-01-27 20:30:42 -08002477 bool "Debug and ETM trace support across power collapse using memory mapped access"
Pushkar Joshi64cae782012-12-15 18:59:03 -08002478 help
Pratik Patel61e91702013-01-27 20:30:42 -08002479 Enables support for debugging (specifically breakpoints) and ETM
2480 processor tracing across power collapse both for JTag and OS hosted
2481 software running on the target. Enabling this will ensure debug
2482 and ETM registers are saved and restored across power collapse.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002483
Pratik Patel61e91702013-01-27 20:30:42 -08002484 Required on targets on which cp14 access to debug and ETM registers is
2485 not permitted and so memory mapped access is necessary.
2486
2487 If unsure, say 'N' here to avoid potential power, performance and
2488 memory penalty.
Pushkar Joshi64cae782012-12-15 18:59:03 -08002489
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002490config MSM_ETM
2491 tristate "Enable MSM ETM and ETB"
Pratik Patel17f3b822011-11-21 12:41:47 -08002492 depends on ARCH_MSM8X60
2493 select MSM_JTAG
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002494 help
Pratik Patel17f3b822011-11-21 12:41:47 -08002495 Enables embedded trace collection on MSM8660
Pratik Patel7831c082011-06-08 21:44:37 -07002496
Lynus Vazdde09ee2012-01-05 13:28:22 +05302497config MSM_SLEEP_STATS_DEVICE
2498 bool "Enable exporting of MSM sleep device stats to userspace"
2499
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302500config MSM_RUN_QUEUE_STATS
2501 bool "Enable collection and exporting of MSM Run Queue stats to userspace"
Subbaraman Narayanamurthy0b148fc2012-11-28 12:14:12 -08002502 default n
Krishna Vankae2922052012-03-02 09:59:12 +05302503 help
2504 This option enalbes statistics collection on Run Queue. A daemon
2505 in user mode, called MPDecision will be using this data to decide
2506 on when to switch off/on the other cores.
Krishna Vanka7f563ff2012-03-20 22:04:19 +05302507
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002508config MSM_STANDALONE_POWER_COLLAPSE
2509 bool "Enable standalone power collapse"
2510 default n
2511
2512config MSM_GSBI9_UART
2513 bool "Enable GSBI9 UART device"
2514 default n
2515 help
2516 This enables GSBI9 configured into UART.
2517
2518config MSM_SHARED_GPIO_FOR_UART2DM
2519 bool "Use shared GPIOs into UART mode"
2520 depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT)
2521 help
2522 This option configures GPIO muxed with SDC4/MMC3
2523 8-bit mode into UART mode. It is used for serial
2524 console on UART2DM. Say Y if you want to have
2525 serial console on UART2DM.
2526
2527config MSM_SHOW_RESUME_IRQ
2528 bool "Enable logging of interrupts that could have caused resume"
Bryan Huntsmancc147032011-11-23 13:03:56 -08002529 depends on (ARM_GIC || PMIC8058)
2530 default y if PMIC8058
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002531 default n
2532 help
2533 This option logs wake up interrupts that have triggered just before
2534 the resume loop unrolls. Say Y if you want to debug why the system
2535 resumed.
2536
2537config BT_MSM_PINTEST
2538 tristate "MSM Bluetooth Pin Connectivity Test"
2539 depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS)
2540 default n
2541 help
2542 Bluetooth MSM Pin Connectivity test module.
2543 This driver provides support for verifying the MSM to BT pin
2544 connectivity.
2545
2546config MSM_FAKE_BATTERY
2547 depends on POWER_SUPPLY
2548 default n
2549 bool "MSM Fake Battery"
2550 help
2551 Enables MSM fake battery driver.
2552
2553config MSM_QDSP6_APR
2554 bool "Audio QDSP6 APR support"
2555 depends on MSM_SMD
2556 default n
2557 help
2558 Enable APR IPC protocol support between
2559 application processor and QDSP6. APR is
2560 used by audio driver to configure QDSP6's
2561 ASM, ADM and AFE.
2562
Joonwoo Park91d95462012-08-02 10:55:54 -07002563config MSM_QDSP6_APRV2
2564 bool "Audio QDSP6 APRv2 support"
2565 depends on MSM_SMD
2566 default n
2567 help
2568 Enable APRv2 IPC protocol support between
2569 application processor and QDSP6. APR is
2570 used by audio driver to configure QDSP6's
2571 ASM, ADM and AFE.
2572
Harmandeep Singhc35fa07d2012-05-31 07:08:59 -07002573config MSM_QDSP6_CODECS
2574 bool "Audio Codecs on QDSP6 APR "
2575 depends on MSM_SMD
2576 default n
2577 help
2578 Enable Audio codecs with APR IPC protocol support between
2579 application processor and QDSP6. APR is
2580 used by audio driver to configure QDSP6's
2581 ASM, ADM and AFE.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002582
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002583config MSM_QDSP6V2_CODECS
2584 bool "Audio QDSP6V2 APR support"
2585 depends on MSM_SMD
2586 help
2587 Enable Audio codecs with APR IPC protocol support between
2588 application processor and QDSP6 for B-family. APR is
2589 used by audio driver to configure QDSP6's
2590 ASM, ADM and AFE.
2591
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002592config MSM_AUDIO_QDSP6
2593 bool "QDSP6 HW Audio support"
2594 select SND_SOC_MSM_QDSP6_INTF
2595 default n
2596 help
2597 Enable HW audio support in QDSP6.
2598 QDSP6 can support HW encoder & decoder and audio processing
2599
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -07002600config MSM_AUDIO_QDSP6V2
2601 bool "QDSP6V2 HW Audio support"
2602 select SND_SOC_MSM_QDSP6V2_INTF
2603 help
2604 Enable HW audio support in QDSP6V2.
2605 QDSP6V2 can support HW encoder & decoder and
2606 audio processing. It will enable support for
2607 AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among
2608 others.
2609
Joonwoo Park4a14a552012-08-02 11:03:21 -07002610config MSM_ADSP_LOADER
2611 tristate "ADSP loader support"
2612 select SND_SOC_MSM_APRV2_INTF
Krishnankutty Kolathappilly2ce63522013-08-26 13:54:22 -07002613 depends on MSM_AUDIO_QDSP6V2
Joonwoo Park4a14a552012-08-02 11:03:21 -07002614 help
2615 Enable ADSP image loader.
2616 The ADSP loader brings ADSP out of reset
2617 for the platforms that use APRv2.
2618 Say M if you want to enable this module.
2619
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002620config MSM_ULTRASOUND_A
2621 bool "QDSP6 HW Ultrasound support"
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002622 help
Baruch Eruchimovitch258b3472012-10-14 21:46:35 +02002623 Enable HW ultrasound support in QDSP6.
2624 QDSP6 can support HW encoder & decoder and
2625 ultrasound processing. It will enable
2626 ultrasound data paths between
2627 HW and services, calculating input events
2628 upon the ultrasound data.
Baruch Eruchimovitche9cbfc12011-10-09 19:47:08 +02002629
Baruch Eruchimovitch8c3f7802013-01-05 22:48:04 +02002630config MSM_ULTRASOUND_B
2631 bool "QDSP6V2 HW Ultrasound support"
2632 help
2633 Enable HW Ultrasound support in QDSP6V2.
2634 QDSP6V2 can support HW encoder & decoder and
2635 ultrasound processing. It will enable
2636 ultrasound data paths between
2637 HW and services, calculating input events
2638 upon the ultrasound data.
2639
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002640config MSM_RPC_VIBRATOR
2641 bool "RPC based MSM Vibrator Support"
2642 depends on MSM_ONCRPCROUTER
2643 help
2644 Enable the vibrator support on MSM over RPC. The vibrator
2645 is connected on the PMIC. Say Y if you want to enable this
2646 feature.
2647
2648config PM8XXX_RPC_VIBRATOR
2649 bool "RPC based Vibrator on PM8xxx PMICs"
2650 depends on MSM_RPC_VIBRATOR
2651 help
2652 Enable the vibrator support on MSM over RPC. The vibrator
2653 is connected on the PM8XXX PMIC. Say Y if you want to enable
2654 this feature.
2655
2656config MSM_SPM_V1
2657 bool "Driver support for SPM Version 1"
2658 help
2659 Enables the support for Version 1 of the SPM driver. SPM hardware is
2660 used to manage the processor power during sleep. The driver allows
2661 configuring SPM to allow different power modes.
2662
2663config MSM_SPM_V2
2664 bool "Driver support for SPM Version 2"
2665 help
2666 Enables the support for Version 2 of the SPM driver. SPM hardware is
2667 used to manage the processor power during sleep. The driver allows
2668 configuring SPM to allow different power modes.
2669
2670config MSM_L2_SPM
2671 bool "SPM support for L2 cache"
2672 depends on MSM_SPM_V2
2673 help
2674 Enable SPM driver support for L2 cache. Some MSM chipsets allow
2675 control of L2 cache low power mode with a Subsystem Power manager.
2676 Enabling this driver allows configuring L2 SPM for low power modes
2677 on supported chipsets.
2678
Laura Abbott2d1760b2011-09-29 21:31:24 -07002679config MSM_MULTIMEDIA_USE_ION
2680 bool "Multimedia suport using Ion"
2681 depends on ION_MSM
2682 help
2683 Enable support for multimedia drivers using Ion for buffer management
2684 instead of pmem. Selecting this may also involve userspace
2685 dependencies as well.
2686
Naveen Ramaraj51f5e8b2012-04-09 15:58:40 -07002687config MSM_OCMEM
2688 bool "MSM On-Chip memory driver (OCMEM)"
2689 help
2690 Enable support for On-Chip Memory available on certain MSM chipsets.
2691 OCMEM is a low latency, high performance pool shared by subsystems.
2692
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002693config MSM_OCMEM_LOCAL_POWER_CTRL
2694 bool "OCMEM Local Power Control"
2695 depends on MSM_OCMEM
2696 help
2697 Enable direct power management of the OCMEM core by the
2698 OCMEM driver. By default power management is delegated to
2699 the RPM. Selecting this option causes the OCMEM driver to
2700 directly handle the various macro power transitions.
2701
2702config MSM_OCMEM_DEBUG
2703 bool "OCMEM Debug Support"
2704 depends on MSM_OCMEM
2705 help
2706 Enable debug options for On-chip Memory (OCMEM) driver.
2707 Various debug options include memory, power and latency.
2708 Choosing one of these options allows debugging of each
2709 individual subsystem separately.
2710
Naveen Ramarajc71b2de2012-08-20 12:35:52 -07002711config MSM_OCMEM_NONSECURE
2712 bool "OCMEM Non Secure Mode"
2713 depends on MSM_OCMEM_DEBUG
2714 help
2715 Disable OCMEM interaction with secure processor.
2716 By default OCMEM is secured and accesses for each master
2717 is requested by the OCMEM driver. Selecting this option
2718 causes the OCMEM memory to be in non-secure state unless
2719 its locked down by the secure processor.
2720
Naveen Ramaraj99b07562012-05-28 20:57:09 -07002721config MSM_OCMEM_POWER_DEBUG
2722 bool "OCMEM Power Debug Support"
2723 depends on MSM_OCMEM_DEBUG
2724 help
2725 Enable debug support for OCMEM power management.
2726 This adds support for verifying all power management
2727 related operations of OCMEM. Both local power management
2728 and RPM assisted power management operations are supported.
2729
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002730config MSM_OCMEM_DEBUG_ALWAYS_ON
2731 bool "Keep OCMEM always turned ON"
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002732 depends on MSM_OCMEM_DEBUG
2733 help
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002734 Always vote for all OCMEM clocks and keep all OCMEM
2735 macros turned ON and never allow them to be turned OFF.
2736 Both local power management and RPM assisted power modes
2737 are supported for individual macro power control operations.
2738
2739config MSM_OCMEM_POWER_DISABLE
2740 bool "OCMEM Disable Power Control"
2741 depends on MSM_OCMEM
2742 help
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002743 Disable all OCMEM power management.
Naveen Ramaraj69f4aa92013-03-11 13:56:06 -07002744 Skip all OCMEM power operations that turn ON or
2745 turn OFF the macros. Both local power management and
2746 RPM assisted power management operations are skipped.
2747 Enable this configuration if OCMEM is being exclusively
2748 used as GMEM or OCIMEM.
Naveen Ramaraj4b1d9392012-08-06 21:05:14 -07002749
Naveen Ramaraj88f23632012-10-10 12:23:29 -07002750config SENSORS_ADSP
2751 bool "Enable Sensors Driver Support for ADSP"
2752 help
2753 Add support for sensors ADSP driver.
2754 This driver is used for exercising different sensors use cases,
2755 such as for lower-power OCMEM use cases, and for time syncing
2756 with ADSP clock.
2757
Laura Abbottad340ff2012-01-04 14:23:48 -08002758config MSM_RTB
2759 bool "Register tracing"
2760 help
2761 Add support for logging different events to a small uncached
2762 region. This is designed to aid in debugging reset cases where the
2763 caches may not be flushed before the target resets.
2764
2765config MSM_RTB_SEPARATE_CPUS
2766 bool "Separate entries for each cpu"
2767 depends on MSM_RTB
Laura Abbott9959f982012-02-28 11:30:50 -08002768 depends on SMP
Laura Abbottad340ff2012-01-04 14:23:48 -08002769 help
2770 Under some circumstances, it may be beneficial to give dedicated space
2771 for each cpu to log accesses. Selecting this option will log each cpu
2772 separately. This will guarantee that the last acesses for each cpu
2773 will be logged but there will be fewer entries per cpu
2774
Stepan Moskovchenko57884842012-06-07 17:35:49 -07002775config MSM_EBI_ERP
2776 bool "External Bus Interface (EBI) error reporting"
2777 help
2778 Say 'Y' here to enable reporting of external bus interface errors to
2779 the kernel log. Information such as the offending address and
2780 transaction type will be logged. This may be useful for debugging
2781 seemingly broken memory accesses.
2782
2783 For production builds, you should probably say 'N' here.
2784
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002785config MSM_CACHE_ERP
2786 bool "Cache / CPU error reporting"
2787 depends on ARCH_MSM_KRAIT
2788 help
2789 Say 'Y' here to enable reporting of cache and TLB errors to the kernel
2790 log. Enabling this feature can be used as a system debugging technique
2791 if cache corruption is suspected. Cache error statistics will also be
2792 reported in /proc/cpu/msm_cache_erp.
2793
2794 For production builds, you should probably say 'N' here.
2795
2796config MSM_L1_ERR_PANIC
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002797 bool "Panic on L1 cache errors"
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002798 depends on MSM_CACHE_ERP
2799 help
Stepan Moskovchenko1b0c1742012-04-30 14:53:16 -07002800 To cause the kernel to panic whenever an L1 cache error is detected, say
2801 'Y' here. This may be useful as a debugging technique if general system
2802 instability is suspected.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002803
2804 For production builds, you should probably say 'N' here.
2805
Stepan Moskovchenkoe1aba3d2012-12-06 18:40:25 -08002806config MSM_L1_RECOV_ERR_PANIC
2807 bool "Panic on recoverable L1 cache errors"
2808 depends on MSM_CACHE_ERP && MSM_L1_ERR_PANIC
2809 help
2810 Certain CPU designs may be able to automatically recover from certain
2811 kinds of L1 cache errors, even though the L1 cache itself may not
2812 support error correction. These errors should not result in any kind
2813 of corruption, but their presence is nevertheless an indication of
2814 poor system health. To cause the kernel to panic whenever a
2815 recoverable L1 cache error is detected, say 'Y' here. This may be
2816 useful as a debugging technique if general system instability is
2817 suspected.
2818
2819 For production builds, you should definitely say 'N' here.
2820
Stepan Moskovchenko7035f652012-05-31 17:48:01 -07002821config MSM_L1_ERR_LOG
2822 bool "Log CPU ERP events to system memory"
2823 depends on MSM_CACHE_ERP
2824 help
2825 Enable logging CPU ERP events to an area of memory that will be
2826 preserved across a system reset. This may be useful for detecting and
2827 troubleshooting ERP-related system crashes in the field.
2828
2829 For production builds, you may want to say 'Y' here.
2830
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002831config MSM_L2_ERP_PRINT_ACCESS_ERRORS
2832 bool "Report L2 master port slave/decode errors in kernel log"
2833 depends on MSM_CACHE_ERP
2834 help
2835 Master port errors can occur when a memory request is not properly
2836 handled by the destination slave. This can occur if the destination
2837 register does not exist or is inaccessible due to security
2838 restrictions or (in some cases) clock configuration. Enabling this
2839 option will cause a backtrace to be printed to the kernel log whenever
2840 such an error is encountered. Note that the error is reported as an
2841 interrupt rather than as an exception, meaning that the backtrace may
2842 have some skid. This option may help with debugging, though production
2843 builds should probably say 'N' here.
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002844
2845config MSM_L2_ERP_PORT_PANIC
2846 bool "Panic on L2 master port errors"
Stepan Moskovchenkoe9a5dc12012-04-03 20:25:49 -07002847 depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS
Stepan Moskovchenko07552e12012-02-29 20:09:32 -08002848 help
2849 Master port errors can occur when a memory request is not properly
2850 handled by the destination slave. Enable this option to catch drivers
2851 which attempt to access bad areas of the address space, or access
2852 hardware registers in an improper state (such as certain clocks not
2853 being on). This option may help with debugging, though production
2854 builds should probably say 'N' here.
2855
2856config MSM_L2_ERP_1BIT_PANIC
2857 bool "Panic on recoverable L2 soft errors"
2858 depends on MSM_CACHE_ERP
2859 help
2860 Enable this option to cause a kernel panic whenever the L2 cache
2861 encounters a single-bit (correctable) soft error. This option should
2862 only be enabled when doing low-level debugging where cache corruption
2863 is suspected.
2864
2865 For production builds, you should definitely say 'N' here.
2866
2867config MSM_L2_ERP_2BIT_PANIC
2868 bool "Panic on unrecoverable L2 soft errors"
2869 depends on MSM_CACHE_ERP
2870 help
2871 Enable this option to cause a kernel panic whenever the L2 cache
2872 encounters a double-bit (non-correctable) soft error. Debug builds
2873 will likely benefit from having this option enabled to catch cache
2874 problems as soon as possible.
2875
2876 For production builds, it may be acceptable to say 'N' here, since
2877 an uncorrectable error might not necessarily cause further problems.
Laura Abbottad340ff2012-01-04 14:23:48 -08002878
Praveen Chidambaramf53ef1b2011-12-06 08:27:49 -07002879config MSM_DCVS
2880 bool "Use MSM DCVS for CPU/GPU Frequency control"
2881 depends on MSM_SCM
2882 help
2883 Enable support for MSM DCVS to control all CPU and GPU core frequencies.
2884 The DCVS manager allows idle driver to feed the idle information to the
2885 algorithm and the algorithm returns a frequency for the core which is
2886 passed to the frequency change driver.
2887
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +05302888config MSM_CPR
2889 tristate "Use MSM CPR in S/W mode"
2890 help
2891 Enable CPR (core power reduction) in S/W mode, where the processor
2892 get's the notification from CPR block and programs the PMIC.
2893
2894config MSM_VP_REGULATOR
2895 tristate "Use MSM PMIC8029 C2 regulator"
2896 depends on ARCH_MSM8625
2897 help
2898 Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access
2899 for MSMs like 8625.
2900
Taniya Dasc43e6872012-03-21 16:41:14 +05302901config HAVE_ARCH_HAS_CURRENT_TIMER
2902 bool
Laura Abbott306bcc22012-03-08 11:24:53 -08002903
2904config MSM_CACHE_DUMP
2905 bool "Cache dumping support"
2906 help
2907 Add infrastructure to dump the L1 and L2 caches to an allocated buffer.
2908 This allows for analysis of the caches in case cache corruption is
2909 suspected.
2910
Laura Abbott7b637362012-03-29 16:43:49 -07002911config MSM_CACHE_DUMP_ON_PANIC
2912 bool "Dump caches on panic"
2913 depends on MSM_CACHE_DUMP
2914 help
2915 By default, the caches are flushed on panic. This means that trying to
2916 look at them in a RAM dump will give useless data. Select this if you
2917 want to dump the L1 and L2 caches on panic before any flush occurs.
2918 If unsure, say N
2919
Jack Phamccbbfab2012-04-09 19:50:20 -07002920config MSM_HSIC_SYSMON
2921 tristate "MSM HSIC system monitor driver"
2922 depends on USB
2923 help
2924 Add support for bridging with the system monitor interface of MDM
2925 over HSIC. This driver allows the local system monitor to
2926 communicate with the remote system monitor interface.
2927
2928config MSM_HSIC_SYSMON_TEST
2929 tristate "MSM HSIC system monitor bridge test"
2930 depends on USB && MSM_HSIC_SYSMON && DEBUG_FS
2931 help
2932 Enable the test hook for the Qualcomm system monitor HSIC driver.
2933 This will create a debugfs file entry named "hsic_sysmon_test" which
2934 can be read and written to send character data to the sysmon port of
2935 the modem over USB.
2936
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +05302937config MSM_RPC_PMIC
2938 tristate "MSM RPC PMIC driver"
2939 depends on MSM_ONCRPCROUTER
2940 help
2941 This driver supports the PMIC functionality over RPC for those MSM's
2942 which do not have a direct access to PMIC. It supports ability to
2943 configure MPP, GPIO and all the other supported peripherals of the
2944 PMIC.
2945
Anirudh Ghayald3a63732012-09-20 22:13:13 +05302946config MSM_RPC_USB
2947 tristate "MSM RPC USB driver"
2948 depends on MSM_ONCRPCROUTER
2949 help
2950 This driver supports the USB configuration support over the RPC
2951 interface. It support the HS USB module connected to the MSM
2952 and FS USB which is connected over the PMIC. This support is
2953 required for MSMs on which the APPS does not have a direct access
2954 to the PMIC.
2955
2956config MSM_RPC_PMAPP
2957 tristate "MSM RPC PMIC APP driver"
2958 depends on MSM_ONCRPCROUTER
2959 help
2960 This driver supports the configuration of various PMIC APP modules
2961 such as display backlight, vreg pin-ctrl, smps clock over the RPC
2962 interface. This support is required for MSMs on which the APPS
2963 does not have a direct access to the PMIC.
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002964
2965config MSM_ENABLE_WDOG_DEBUG_CONTROL
Pratik Patele08204d2013-03-12 17:43:56 -07002966 bool "Enable control of watchdog debug and boot partition select"
Pushkar Joshi0fc73462012-09-26 17:59:31 -07002967 help
Pratik Patele08204d2013-03-12 17:43:56 -07002968 Enables support for controlling watchdog debug and boot partition
2969 select. This is currently used to bypass debug image for PS_HOLD reset
2970 by disabling watchdog debug and boot partition select. This allows
2971 for a clean MSM reset for reboot scenarios.
Taniya Dasea4263f92012-08-22 18:52:51 +05302972
2973config MSM_FIQ
2974 bool "Enable FIQ for debugging"
2975 depends on ARCH_MSM8625
2976 select FIQ
Taniya Das36e4aa12012-07-04 18:27:16 +05302977 select GIC_SECURE
Taniya Dasea4263f92012-08-22 18:52:51 +05302978 help
2979 Enable any line to be used as an FIQ. This will help debugging
2980 if apps is not responding and holding lock with irqs disabled.
2981 Modem will then generate an raise a FIQ on this line before sending
2982 SMSM reset.
Greg Reidb1d240a2012-10-12 12:20:31 -04002983
2984config MSM_USE_USER_ACCESSIBLE_TIMERS
2985 bool "Enables mapping an MSM timer counter page to user space."
2986 depends on ARM_USE_USER_ACCESSIBLE_TIMERS
2987 help
2988 Enables MSM-specific user accessible timers via a shared
2989 memory page containing the cycle counter.
2990
Sidipotu Ashokbf84d4d2012-11-06 17:13:28 +05302991config USE_DEV_CTRL_VOLUME
2992 bool "Use Device Control Volume"
2993 help
2994 Use Device Control Volume as opposed to ALSA volume control.
2995
Jay Chokshi06e444f2012-12-06 20:48:23 -08002996config MSM_CPU_PWRCTL
2997 bool "Ensures that krait droop detectors are always off"
2998 help
2999 Droop detector mechanism can adversely affect krait plls during
3000 stand alone power collapse operation. Selecting this option
3001 ensures that they are always off.
3002
Saket Saurabh6089f952012-12-07 15:49:13 +05303003config MSM_UARTDM_Core_v14
3004 bool "Use MSM BLSP based HSUART Core v1.4"
3005 depends on SERIAL_MSM_HS
3006 help
3007 Select if BLSP based UART Core v.14 or higher is present.
Abhimanyu Kapurcf3ed152013-03-01 19:32:19 -08003008
3009config MSM_BOOT_STATS
3010 bool "Use MSM boot stats reporting"
3011 help
3012 Use this to report msm boot stats such as bootloader throughput,
3013 display init, total boot time.
3014 This figures are reported in mpm sleep clock cycles and have a
3015 resolution of 31 bits as 1 bit is used as an overflow check.
Syed Rameez Mustafa37f93472013-03-18 15:49:48 -07003016
3017config MSM_XPU_ERR_FATAL
3018 bool "Configure XPU violations as fatal errors"
3019 help
3020 Select if XPU violations have to be configured as fatal errors.
Willie Ruan2635a852013-03-17 16:33:42 -07003021
3022config MSM_CPR_REGULATOR
3023 bool "RBCPR regulator driver for APC"
3024 depends on REGULATOR
3025 depends on OF
3026 help
3027 Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
3028 corner vote for APC power rail. The driver takes PTE process voltage
3029 suggestions in efuse as initial settings. It converts corner vote
3030 to voltage value before writing to a voltage regulator API, such as
3031 that provided by spm-regulator driver.
Rohit Vaswani8f709c02013-02-13 15:49:56 -08003032
3033config WALL_CLK
3034 tristate "Wall Clock hardware block simulation"
3035 depends on ARCH_APQ8064
3036 help
3037 This driver simulates the wall-clock hardware block on fsm8064_ep
3038 femto emulation platform. This block will be used to provide
3039 clock information to the LTE Layer 2 module running on the hexagon
3040 processor.
3041
3042config WALL_CLK_SYSFS
3043 tristate "Wall Clock SysFS Support"
3044 depends on SYSFS && WALL_CLK
3045 help
3046 Support the wallclk directory in sysfs filesystem to enable the
3047 wall clock simulation and read the current SFN.
3048
Abhijeet Dharmapurikar719c96b2013-07-19 11:52:52 -07003049config KRAIT_REGULATOR
3050 bool "Support Kraits powered via ganged regulators in the pmic"
3051 help
3052 Certain MSMs have the Krait CPUs powered via a single supply
3053 line from the PMIC. This supply line is powered by multiple
3054 regulators running in ganged mode inside the PMIC. Enable
3055 this option to support such configurations.
Brian Swetland9e73c842007-11-26 04:12:13 -08003056endif