Brian Swetland | 1637de0 | 2008-09-09 07:13:33 -0700 | [diff] [blame] | 1 | if ARCH_MSM |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 2 | |
Stepan Moskovchenko | 1cd286f | 2011-08-03 19:03:02 -0700 | [diff] [blame] | 3 | menu "MSM SoC Type" |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 4 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 5 | config ARCH_MSM7X01A |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 6 | bool "MSM7x00A / MSM7x01A" |
| 7 | select ARCH_MSM_ARM11 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 8 | select MSM_VIC |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 9 | select CPU_V6 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 10 | select MSM_REMOTE_SPINLOCK_SWP |
| 11 | |
| 12 | config ARCH_MSM7X25 |
| 13 | bool "MSM7x25" |
| 14 | select ARCH_MSM_ARM11 |
| 15 | select MSM_VIC |
| 16 | select CPU_V6 |
| 17 | select MSM_REMOTE_SPINLOCK_SWP |
| 18 | |
| 19 | config ARCH_MSM7X27 |
| 20 | bool "MSM7x27" |
| 21 | select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE |
| 22 | select ARCH_HAS_BARRIERS if MSM_SOC_REV_NONE |
| 23 | select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A |
| 24 | select MSM_VIC |
| 25 | select CPU_V6 if MSM_SOC_REV_NONE |
| 26 | select CPU_V7 if MSM_SOC_REV_A |
| 27 | select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE |
| 28 | select MSM_GPIOMUX |
| 29 | select REGULATOR |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 30 | |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 31 | config ARCH_MSM7X30 |
| 32 | bool "MSM7x30" |
| 33 | select ARCH_MSM_SCORPION |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 34 | select MSM_VIC |
| 35 | select CPU_V7 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 36 | select MSM_REMOTE_SPINLOCK_DEKKERS |
| 37 | select ARCH_SPARSEMEM_ENABLE |
Laura Abbott | 78593b5 | 2011-09-26 18:48:14 -0700 | [diff] [blame] | 38 | select ARCH_HAS_HOLES_MEMORYMODEL |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 39 | select MEMORY_HOTPLUG |
| 40 | select MEMORY_HOTREMOVE |
| 41 | select MIGRATION |
| 42 | select ARCH_MEMORY_PROBE |
| 43 | select ARCH_MEMORY_REMOVE |
| 44 | select DONT_RESERVE_FROM_MOVABLE_ZONE |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 45 | select MSM_GPIOMUX |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 46 | select RESERVE_FIRST_PAGE |
| 47 | select MSM_DALRPC |
| 48 | select MSM_SPM_V1 |
| 49 | select REGULATOR |
Justin Paupore | 637a25d | 2011-07-14 17:11:04 -0700 | [diff] [blame] | 50 | select MSM_PROC_COMM_REGULATOR |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 51 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 52 | config ARCH_QSD8X50 |
| 53 | bool "QSD8X50" |
| 54 | select ARCH_MSM_SCORPION |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 55 | select MSM_VIC |
| 56 | select CPU_V7 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 57 | select MSM_REMOTE_SPINLOCK_LDREX |
| 58 | select CPU_USE_DOMAINS |
| 59 | select EMULATE_DOMAIN_MANAGER_V7 |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 60 | select MSM_GPIOMUX |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 61 | select MSM_DALRPC |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 62 | |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 63 | config ARCH_MSM8X60 |
| 64 | bool "MSM8X60" |
Jeff Ohlstein | e14411d | 2010-11-30 13:06:36 -0800 | [diff] [blame] | 65 | select ARCH_MSM_SCORPIONMP |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 66 | select SMP_PARALLEL_START if SMP |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 67 | select ARM_GIC |
| 68 | select CPU_V7 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 69 | select MSM_REMOTE_SPINLOCK_LDREX |
| 70 | select ARCH_REQUIRE_GPIOLIB |
| 71 | select MSM_ADM3 |
| 72 | select REGULATOR |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 73 | select MSM_V2_TLMM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 74 | select MSM_PIL |
| 75 | select MSM_SCM |
| 76 | select ARCH_HAS_CPU_IDLE_WAIT |
| 77 | select MSM_DIRECT_SCLK_ACCESS |
| 78 | select MSM_RPM |
| 79 | select MSM_XO |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 80 | select MSM_GPIOMUX |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 81 | select MSM_BUS_SCALING |
| 82 | select MSM_SECURE_IO |
| 83 | select MSM_DALRPC |
| 84 | select MSM_QDSP6_APR |
| 85 | select MSM_NATIVE_RESTART |
| 86 | select ARCH_INLINE_SPIN_TRYLOCK |
| 87 | select ARCH_INLINE_SPIN_TRYLOCK_BH |
| 88 | select ARCH_INLINE_SPIN_LOCK |
| 89 | select ARCH_INLINE_SPIN_LOCK_BH |
| 90 | select ARCH_INLINE_SPIN_LOCK_IRQ |
| 91 | select ARCH_INLINE_SPIN_LOCK_IRQSAVE |
| 92 | select ARCH_INLINE_SPIN_UNLOCK |
| 93 | select ARCH_INLINE_SPIN_UNLOCK_BH |
| 94 | select ARCH_INLINE_SPIN_UNLOCK_IRQ |
| 95 | select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE |
| 96 | select ARCH_INLINE_READ_TRYLOCK |
| 97 | select ARCH_INLINE_READ_LOCK |
| 98 | select ARCH_INLINE_READ_LOCK_BH |
| 99 | select ARCH_INLINE_READ_LOCK_IRQ |
| 100 | select ARCH_INLINE_READ_LOCK_IRQSAVE |
| 101 | select ARCH_INLINE_READ_UNLOCK |
| 102 | select ARCH_INLINE_READ_UNLOCK_BH |
| 103 | select ARCH_INLINE_READ_UNLOCK_IRQ |
| 104 | select ARCH_INLINE_READ_UNLOCK_IRQRESTORE |
| 105 | select ARCH_INLINE_WRITE_TRYLOCK |
| 106 | select ARCH_INLINE_WRITE_LOCK |
| 107 | select ARCH_INLINE_WRITE_LOCK_BH |
| 108 | select ARCH_INLINE_WRITE_LOCK_IRQ |
| 109 | select ARCH_INLINE_WRITE_LOCK_IRQSAVE |
| 110 | select ARCH_INLINE_WRITE_UNLOCK |
| 111 | select ARCH_INLINE_WRITE_UNLOCK_BH |
| 112 | select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE |
| 113 | select CPU_HAS_L2_PMU |
| 114 | select MSM_SPM_V1 |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 115 | |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 116 | config ARCH_MSM8960 |
| 117 | bool "MSM8960" |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 118 | select ARCH_MSM_KRAITMP |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 119 | select ARM_GIC |
| 120 | select CPU_V7 |
| 121 | select MSM_V2_TLMM |
| 122 | select MSM_GPIOMUX |
| 123 | select MSM_SCM if SMP |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 124 | select MSM_DIRECT_SCLK_ACCESS |
| 125 | select REGULATOR |
| 126 | select MSM_RPM |
| 127 | select MSM_XO |
| 128 | select MSM_QDSP6_APR |
| 129 | select MSM_PIL |
| 130 | select MSM_AUDIO_QDSP6 if SND_SOC |
| 131 | select CPU_HAS_L2_PMU |
| 132 | select MSM_SPM_V2 |
| 133 | select MSM_L2_SPM |
| 134 | select MSM_NATIVE_RESTART |
Larry Bassel | cf1fae5 | 2011-08-30 15:14:29 -0700 | [diff] [blame] | 135 | select ARCH_SPARSEMEM_ENABLE |
| 136 | select ARCH_HAS_HOLES_MEMORYMODEL |
| 137 | select MEMORY_HOTPLUG |
| 138 | select MEMORY_HOTREMOVE |
| 139 | select MIGRATION |
| 140 | select ARCH_MEMORY_PROBE |
| 141 | select ARCH_MEMORY_REMOVE |
| 142 | select DONT_RESERVE_FROM_MOVABLE_ZONE |
Larry Bassel | 9670672 | 2011-09-20 14:36:14 -0700 | [diff] [blame] | 143 | select DONT_MAP_HOLE_AFTER_MEMBANK0 |
Eric Holmberg | eab1073 | 2011-09-23 19:44:43 -0600 | [diff] [blame] | 144 | select MSM_REMOTE_SPINLOCK_SFPB |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 145 | |
| 146 | config ARCH_APQ8064 |
| 147 | bool "APQ8064" |
| 148 | select ARCH_MSM_KRAITMP |
Stepan Moskovchenko | d256ddf | 2011-09-08 12:34:46 -0700 | [diff] [blame] | 149 | select MACH_APQ8064_SIM if !MACH_APQ8064_RUMI3 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 150 | select MSM_V2_TLMM |
| 151 | select ARM_GIC |
| 152 | select CPU_V7 |
| 153 | select MSM_SCM if SMP |
Joel King | 4ebccc6 | 2011-07-22 09:43:22 -0700 | [diff] [blame] | 154 | select MSM_GPIOMUX |
Eric Holmberg | 40d2188 | 2011-09-27 09:42:03 -0600 | [diff] [blame] | 155 | select MSM_REMOTE_SPINLOCK_SFPB |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 156 | |
| 157 | config ARCH_FSM9XXX |
| 158 | bool "FSM9XXX" |
| 159 | select ARCH_MSM_SCORPION |
| 160 | select MSM_VIC |
| 161 | select CPU_V7 |
| 162 | select MSM_REMOTE_SPINLOCK_LDREX |
| 163 | select FSM9XXX_TLMM |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 164 | |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 165 | config ARCH_MSM9615 |
| 166 | bool "MSM9615" |
| 167 | select ARM_GIC |
| 168 | select ARCH_MSM_CORTEX_A5 |
| 169 | select CPU_V7 |
| 170 | select MSM_V2_TLMM |
| 171 | select MSM_GPIOMUX |
Stepan Moskovchenko | 1cd286f | 2011-08-03 19:03:02 -0700 | [diff] [blame] | 172 | endmenu |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 173 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 174 | choice |
| 175 | prompt "MSM SoC Revision" |
| 176 | default MSM_SOC_REV_NONE |
| 177 | config MSM_SOC_REV_NONE |
| 178 | bool "N/A" |
| 179 | select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50 |
| 180 | select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50 |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 181 | config MSM_SOC_REV_A |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 182 | bool "Rev. A" |
| 183 | select ARCH_MSM7X27A if ARCH_MSM7X27 |
| 184 | endchoice |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 185 | |
Stepan Moskovchenko | 00da074 | 2011-07-08 14:06:44 -0700 | [diff] [blame] | 186 | config MSM_KRAIT_TBB_ABORT_HANDLER |
| 187 | bool "Krait TBB/TBH data abort handler" |
| 188 | depends on ARCH_MSM_KRAIT |
| 189 | depends on ARM_THUMB |
| 190 | help |
| 191 | Certain early samples of the Krait processor may generate data |
| 192 | aborts for TBB / TBH instructions that fail their condition code |
| 193 | checks. Enabling this option will ignore these erroneous data aborts, |
| 194 | at the expense of a very small performance penalty. |
| 195 | |
| 196 | If unsure, say N. |
| 197 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 198 | config ARCH_MSM_ARM11 |
| 199 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 200 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 201 | config ARCH_MSM_SCORPION |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 202 | bool |
| 203 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 204 | config ARCH_MSM_KRAIT |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 205 | bool |
| 206 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 207 | config MSM_SMP |
| 208 | bool |
| 209 | |
| 210 | config ARCH_MSM_SCORPIONMP |
| 211 | select ARCH_MSM_SCORPION |
| 212 | select MSM_SMP |
| 213 | bool |
| 214 | |
| 215 | config ARCH_MSM_KRAITMP |
| 216 | select ARCH_MSM_KRAIT |
| 217 | select MSM_SMP |
| 218 | bool |
| 219 | |
| 220 | config ARCH_MSM_CORTEX_A5 |
| 221 | bool |
| 222 | select HAVE_HW_BRKPT_RESERVED_RW_ACCESS |
| 223 | |
| 224 | config ARCH_MSM7X27A |
| 225 | bool |
| 226 | select MSM_DALRPC |
Justin Paupore | b3a33b7 | 2011-08-23 15:30:32 -0700 | [diff] [blame] | 227 | select MSM_PROC_COMM_REGULATOR |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 228 | |
Gregory Bean | f9f3d31 | 2010-04-30 22:06:50 -0700 | [diff] [blame] | 229 | config MSM_VIC |
| 230 | bool |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 231 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 232 | config MSM_RPM |
| 233 | bool "Resource Power Manager" |
| 234 | select MSM_MPM |
| 235 | |
| 236 | config MSM_MPM |
| 237 | bool "Modem Power Manager" |
| 238 | |
| 239 | config MSM_XO |
| 240 | bool |
| 241 | |
| 242 | config MSM_REMOTE_SPINLOCK_DEKKERS |
| 243 | bool |
| 244 | config MSM_REMOTE_SPINLOCK_SWP |
| 245 | bool |
| 246 | config MSM_REMOTE_SPINLOCK_LDREX |
| 247 | bool |
Eric Holmberg | eab1073 | 2011-09-23 19:44:43 -0600 | [diff] [blame] | 248 | config MSM_REMOTE_SPINLOCK_SFPB |
| 249 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 250 | config MSM_ADM3 |
| 251 | bool |
| 252 | |
| 253 | menu "MSM Board Selection" |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 254 | |
| 255 | config MACH_HALIBUT |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 256 | depends on ARCH_MSM7X01A |
| 257 | depends on MSM_STACKED_MEMORY |
| 258 | default y |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 259 | bool "Halibut Board (QCT SURF7201A)" |
| 260 | help |
| 261 | Support for the Qualcomm SURF7201A eval board. |
| 262 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 263 | config MACH_MSM7201A_SURF |
| 264 | depends on ARCH_MSM7X01A |
| 265 | depends on MSM_STACKED_MEMORY |
| 266 | default y |
| 267 | bool "MSM7201A SURF" |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 268 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 269 | Support for the Qualcomm MSM7201A SURF eval board. |
| 270 | |
| 271 | config MACH_MSM7201A_FFA |
| 272 | depends on ARCH_MSM7X01A |
| 273 | depends on MSM_STACKED_MEMORY |
| 274 | default y |
| 275 | bool "MSM7201A FFA" |
| 276 | help |
| 277 | Support for the Qualcomm MSM7201A FFA eval board. |
| 278 | |
| 279 | config MACH_TROUT |
| 280 | depends on ARCH_MSM7X01A |
| 281 | depends on MSM_STACKED_MEMORY |
| 282 | default y |
| 283 | bool "Trout" |
| 284 | |
| 285 | config MACH_MSM7X27_SURF |
| 286 | depends on ARCH_MSM7X27 |
| 287 | depends on !MSM_STACKED_MEMORY |
| 288 | default y |
| 289 | bool "MSM7x27 SURF" |
| 290 | help |
| 291 | Support for the Qualcomm MSM7x27 SURF eval board. |
| 292 | |
| 293 | config MACH_MSM7X27_FFA |
| 294 | depends on ARCH_MSM7X27 |
| 295 | depends on !MSM_STACKED_MEMORY |
| 296 | default y |
| 297 | bool "MSM7x27 FFA" |
| 298 | help |
| 299 | Support for the Qualcomm MSM7x27 FFA eval board. |
| 300 | |
| 301 | config MACH_MSM7X27A_RUMI3 |
| 302 | depends on ARCH_MSM7X27A |
| 303 | depends on !MSM_STACKED_MEMORY |
| 304 | default y |
| 305 | bool "MSM7x27A RUMI3" |
| 306 | help |
| 307 | Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform. |
| 308 | |
| 309 | config MACH_MSM7X27A_SURF |
| 310 | depends on ARCH_MSM7X27A |
| 311 | depends on !MSM_STACKED_MEMORY |
| 312 | default y |
| 313 | bool "MSM7x27A SURF" |
| 314 | help |
| 315 | Support for the Qualcomm MSM7x27A SURF. |
| 316 | |
| 317 | config MACH_MSM7X27A_FFA |
| 318 | depends on ARCH_MSM7X27A |
| 319 | depends on !MSM_STACKED_MEMORY |
| 320 | default y |
| 321 | bool "MSM7x27A FFA" |
| 322 | help |
| 323 | Support for the Qualcomm MSM7x27A FFA. |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 324 | |
Trilok Soni | 3d0f6c5 | 2011-07-26 16:06:58 +0530 | [diff] [blame^] | 325 | config MACH_MSM7625A_SURF |
| 326 | depends on ARCH_MSM7X27A |
| 327 | depends on !MSM_STACKED_MEMORY |
| 328 | default y |
| 329 | bool "MSM7625A SURF" |
| 330 | help |
| 331 | Support for the Qualcomm MSM7625A SURF. |
| 332 | |
| 333 | config MACH_MSM7625A_FFA |
| 334 | depends on ARCH_MSM7X27A |
| 335 | depends on !MSM_STACKED_MEMORY |
| 336 | default y |
| 337 | bool "MSM7625A FFA" |
| 338 | help |
| 339 | Support for the Qualcomm MSM7625A FFA. |
| 340 | |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 341 | config MACH_MSM7X30_SURF |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 342 | depends on ARCH_MSM7X30 |
| 343 | depends on !MSM_STACKED_MEMORY |
| 344 | default y |
| 345 | bool "MSM7x30 SURF" |
| 346 | help |
| 347 | Support for the Qualcomm MSM7x30 SURF eval board. |
| 348 | |
| 349 | config MACH_MSM7X30_FFA |
| 350 | depends on ARCH_MSM7X30 |
| 351 | depends on !MSM_STACKED_MEMORY |
| 352 | default y |
| 353 | bool "MSM7x30 FFA" |
| 354 | help |
| 355 | Support for the Qualcomm MSM7x30 FFA eval board. |
| 356 | |
| 357 | config MACH_MSM7X30_FLUID |
| 358 | depends on ARCH_MSM7X30 |
| 359 | depends on !MSM_STACKED_MEMORY |
| 360 | default y |
| 361 | bool "MSM7x30 FLUID" |
| 362 | help |
| 363 | Support for the Qualcomm MSM7x30 FLUID eval board. |
| 364 | |
| 365 | config MACH_SAPPHIRE |
| 366 | depends on ARCH_MSM7X01A |
| 367 | default n |
| 368 | bool "Sapphire" |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 369 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 370 | config MACH_QSD8X50_SURF |
| 371 | depends on ARCH_QSD8X50 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 372 | depends on MSM_SOC_REV_NONE |
| 373 | depends on MSM_STACKED_MEMORY |
| 374 | default y |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 375 | bool "QSD8x50 SURF" |
| 376 | help |
| 377 | Support for the Qualcomm QSD8x50 SURF eval board. |
| 378 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 379 | config MACH_QSD8X50_FFA |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 380 | depends on ARCH_QSD8X50 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 381 | depends on MSM_SOC_REV_NONE |
| 382 | depends on MSM_STACKED_MEMORY |
| 383 | default y |
| 384 | bool "QSD8x50 FFA" |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 385 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 386 | Support for the Qualcomm QSD8x50 FFA eval board. |
| 387 | |
| 388 | config MACH_MSM7X25_SURF |
| 389 | depends on ARCH_MSM7X25 |
| 390 | depends on !MSM_STACKED_MEMORY |
| 391 | default y |
| 392 | bool "MSM7x25 SURF" |
| 393 | help |
| 394 | Support for the Qualcomm MSM7x25 SURF eval board. |
| 395 | |
| 396 | config MACH_MSM7X25_FFA |
| 397 | depends on ARCH_MSM7X25 |
| 398 | depends on !MSM_STACKED_MEMORY |
| 399 | default y |
| 400 | bool "MSM7x25 FFA" |
| 401 | help |
| 402 | Support for the Qualcomm MSM7x25 FFA eval board. |
| 403 | |
| 404 | config MACH_MSM8X55_SURF |
| 405 | depends on ARCH_MSM7X30 |
| 406 | depends on !MSM_STACKED_MEMORY |
| 407 | default y |
| 408 | bool "MSM8X55 SURF" |
| 409 | help |
| 410 | Support for the Qualcomm MSM8x55 SURF eval board. |
| 411 | |
| 412 | config MACH_MSM8X55_FFA |
| 413 | depends on ARCH_MSM7X30 |
| 414 | depends on !MSM_STACKED_MEMORY |
| 415 | default y |
| 416 | bool "MSM8X55 FFA" |
| 417 | help |
| 418 | Support for the Qualcomm MSM8x55 FFA eval board. |
| 419 | |
| 420 | config MACH_MSM8X55_SVLTE_FFA |
| 421 | depends on ARCH_MSM7X30 |
| 422 | depends on !MSM_STACKED_MEMORY |
| 423 | default y |
| 424 | bool "MSM8X55 SVLTE FFA" |
| 425 | help |
| 426 | Support for the Qualcomm MSM8x55 SVLTE FFA eval board. |
| 427 | |
| 428 | config MACH_MSM8X55_SVLTE_SURF |
| 429 | depends on ARCH_MSM7X30 |
| 430 | depends on !MSM_STACKED_MEMORY |
| 431 | default y |
| 432 | bool "MSM8X55 SVLTE SURF" |
| 433 | help |
| 434 | Support for the Qualcomm MSM8x55 SVLTE SURF eval board. |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 435 | |
Steve Muckle | a55df6e | 2010-01-07 12:43:24 -0800 | [diff] [blame] | 436 | config MACH_MSM8X60_RUMI3 |
| 437 | depends on ARCH_MSM8X60 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 438 | default n |
Steve Muckle | a55df6e | 2010-01-07 12:43:24 -0800 | [diff] [blame] | 439 | bool "MSM8x60 RUMI3" |
| 440 | help |
| 441 | Support for the Qualcomm MSM8x60 RUMI3 emulator. |
| 442 | |
Steve Muckle | 57bbf1c | 2010-01-07 12:51:10 -0800 | [diff] [blame] | 443 | config MACH_MSM8X60_SIM |
| 444 | depends on ARCH_MSM8X60 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 445 | default n |
Steve Muckle | 57bbf1c | 2010-01-07 12:51:10 -0800 | [diff] [blame] | 446 | bool "MSM8x60 Simulator" |
| 447 | help |
| 448 | Support for the Qualcomm MSM8x60 simulator. |
| 449 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 450 | config MACH_MSM8X60_SURF |
| 451 | depends on ARCH_MSM8X60 |
| 452 | default n |
| 453 | bool "MSM8x60 SURF" |
| 454 | help |
| 455 | Support for the Qualcomm MSM8x60 SURF eval board. |
| 456 | |
Gregory Bean | 69b7f6f | 2010-04-04 22:29:02 -0700 | [diff] [blame] | 457 | config MACH_MSM8X60_FFA |
| 458 | depends on ARCH_MSM8X60 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 459 | default n |
Gregory Bean | 69b7f6f | 2010-04-04 22:29:02 -0700 | [diff] [blame] | 460 | bool "MSM8x60 FFA" |
| 461 | help |
| 462 | Support for the Qualcomm MSM8x60 FFA eval board. |
| 463 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 464 | config MACH_MSM8X60_FLUID |
| 465 | depends on ARCH_MSM8X60 |
| 466 | default n |
| 467 | bool "MSM8x60 FLUID" |
| 468 | help |
| 469 | Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an |
| 470 | 8x60 target which has a form factor that is much closer to that |
| 471 | of a phone than other targets. It also has a new display and |
| 472 | touchscreen controller. |
| 473 | |
| 474 | config MACH_MSM8X60_FUSION |
| 475 | depends on ARCH_MSM8X60 |
| 476 | default n |
| 477 | bool "MSM8x60 FUSION" |
| 478 | help |
| 479 | Support for the Qualcomm MSM8x60 Fusion SURF device. |
| 480 | |
| 481 | config MACH_MSM8X60_FUSN_FFA |
| 482 | depends on ARCH_MSM8X60 |
| 483 | default n |
| 484 | bool "MSM8x60 FUSN FFA" |
| 485 | help |
| 486 | Support for the Qualcomm MSM8x60 Fusion FFA device. |
| 487 | |
Zhang Chang Ken | ef05b17 | 2011-07-27 15:28:13 -0400 | [diff] [blame] | 488 | config MACH_MSM8X60_DRAGON |
| 489 | depends on ARCH_MSM8X60 |
| 490 | default n |
| 491 | bool "MSM8x60 DRAGON" |
| 492 | help |
| 493 | Support for the Qualcomm MSM8x60 Dragon board. |
| 494 | |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 495 | config MACH_MSM8960_SIM |
| 496 | depends on ARCH_MSM8960 |
| 497 | bool "MSM8960 Simulator" |
| 498 | help |
| 499 | Support for the Qualcomm MSM8960 simulator. |
| 500 | |
Stepan Moskovchenko | 50ede4e | 2010-12-13 18:12:19 -0800 | [diff] [blame] | 501 | config MACH_MSM8960_RUMI3 |
| 502 | depends on ARCH_MSM8960 |
| 503 | bool "MSM8960 RUMI3" |
| 504 | help |
| 505 | Support for the Qualcomm MSM8960 RUMI3 emulator. |
| 506 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 507 | config MACH_MSM8960_CDP |
| 508 | depends on ARCH_MSM8960 |
| 509 | bool "MSM8960 CDP" |
| 510 | help |
| 511 | Support for the Qualcomm MSM8960 CDP device. |
| 512 | |
| 513 | config MACH_MSM8960_MTP |
| 514 | depends on ARCH_MSM8960 |
| 515 | bool "MSM8960 MTP" |
| 516 | help |
| 517 | Support for the Qualcomm MSM8960 MTP device. |
| 518 | |
| 519 | config MACH_MSM8960_FLUID |
| 520 | depends on ARCH_MSM8960 |
| 521 | bool "MSM8960 FLUID" |
| 522 | help |
| 523 | Support for the Qualcomm MSM8960 FLUID device. |
| 524 | |
Amir Samuelov | 0d1f8ae | 2011-07-28 11:13:58 +0300 | [diff] [blame] | 525 | config MACH_MSM8960_LIQUID |
| 526 | depends on ARCH_MSM8960 |
| 527 | bool "MSM8960 LIQUID" |
| 528 | help |
| 529 | Support for the Qualcomm MSM8960 LIQUID device. |
| 530 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 531 | config MSM_USE_TSIF1 |
| 532 | depends on ARCH_MSM8X60 |
| 533 | bool "MSM8x60 use TSIF1" |
| 534 | help |
| 535 | Selects TSIF1 core to be used rather than TSIF0. |
| 536 | The two TSIF cores share the same DM configuration |
| 537 | so they cannot be used simultaneously. |
| 538 | |
| 539 | config MACH_APQ8064_SIM |
| 540 | depends on ARCH_APQ8064 |
| 541 | bool "APQ8064 Simulator" |
| 542 | help |
| 543 | Support for the Qualcomm APQ8064 simulator. |
| 544 | |
Stepan Moskovchenko | d256ddf | 2011-09-08 12:34:46 -0700 | [diff] [blame] | 545 | config MACH_APQ8064_RUMI3 |
| 546 | depends on ARCH_APQ8064 |
| 547 | bool "APQ8064 RUMI3" |
| 548 | help |
| 549 | Support for the Qualcomm APQ8064 RUMI3 emulator. |
| 550 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 551 | config MACH_FSM9XXX_SURF |
| 552 | depends on ARCH_FSM9XXX |
| 553 | depends on !MSM_STACKED_MEMORY |
| 554 | default y |
| 555 | bool "FSM9XXX SURF" |
| 556 | help |
| 557 | Support for the Qualcomm FSM9xxx femtocell |
| 558 | chipset based SURF evaluation board and |
| 559 | FFA board. |
| 560 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 561 | endmenu |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 562 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 563 | config MSM_STACKED_MEMORY |
| 564 | bool "Stacked Memory" |
| 565 | default y |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 566 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 567 | This option is used to indicate the presence of on-die stacked |
| 568 | memory. When present this memory bank is used for a high speed |
| 569 | shared memory interface. When not present regular RAM is used. |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 570 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 571 | config PHYS_OFFSET |
| 572 | hex |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 573 | default "0x40800000" if ARCH_MSM9615 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 574 | default "0x80200000" if ARCH_APQ8064 |
| 575 | default "0x80200000" if ARCH_MSM8960 |
| 576 | default "0x10000000" if ARCH_FSM9XXX |
| 577 | default "0x00200000" if !MSM_STACKED_MEMORY |
| 578 | default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A |
| 579 | default "0x20000000" if ARCH_QSD8X50 |
| 580 | default "0x40200000" if ARCH_MSM8X60 |
| 581 | default "0x10000000" |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 582 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 583 | config KERNEL_PMEM_EBI_REGION |
| 584 | bool "Enable in-kernel PMEM region for EBI" |
| 585 | default y if ARCH_MSM8X60 |
| 586 | depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960) |
| 587 | help |
| 588 | Enable the in-kernel PMEM allocator to use EBI memory. |
| 589 | |
| 590 | config KERNEL_PMEM_SMI_REGION |
| 591 | bool "Enable in-kernel PMEM region for SMI" |
| 592 | default y if ARCH_MSM8X60 |
| 593 | depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM)) |
| 594 | help |
| 595 | Enable the in-kernel PMEM allocator to use SMI memory. |
| 596 | |
| 597 | config PMEM_GPU0 |
| 598 | bool "Enable PMEM GPU0 region" |
| 599 | default y |
| 600 | depends on ARCH_QSD8X50 && ANDROID_PMEM |
| 601 | help |
| 602 | Enable the PMEM GPU0 device on SMI Memory. |
| 603 | |
| 604 | config MSM_AMSS_VERSION |
| 605 | int |
| 606 | default 6210 if MSM_AMSS_VERSION_6210 |
| 607 | default 6220 if MSM_AMSS_VERSION_6220 |
| 608 | default 6225 if MSM_AMSS_VERSION_6225 |
| 609 | |
| 610 | choice |
| 611 | prompt "AMSS modem firmware version" |
| 612 | |
| 613 | default MSM_AMSS_VERSION_6225 |
| 614 | |
| 615 | config MSM_AMSS_VERSION_6210 |
| 616 | bool "6.2.10" |
| 617 | |
| 618 | config MSM_AMSS_VERSION_6220 |
| 619 | bool "6.2.20" |
| 620 | |
| 621 | config MSM_AMSS_VERSION_6225 |
| 622 | bool "6.2.20 + New ADSP" |
| 623 | endchoice |
Stepan Moskovchenko | 2607b0a | 2010-11-15 17:46:10 -0800 | [diff] [blame] | 624 | |
Pavel Machek | 6339f66 | 2009-11-02 11:48:29 +0100 | [diff] [blame] | 625 | config MSM_DEBUG_UART |
| 626 | int |
| 627 | default 1 if MSM_DEBUG_UART1 |
| 628 | default 2 if MSM_DEBUG_UART2 |
| 629 | default 3 if MSM_DEBUG_UART3 |
| 630 | |
| 631 | choice |
| 632 | prompt "Debug UART" |
| 633 | |
| 634 | default MSM_DEBUG_UART_NONE |
| 635 | |
| 636 | config MSM_DEBUG_UART_NONE |
| 637 | bool "None" |
| 638 | |
| 639 | config MSM_DEBUG_UART1 |
| 640 | bool "UART1" |
| 641 | |
| 642 | config MSM_DEBUG_UART2 |
| 643 | bool "UART2" |
| 644 | |
| 645 | config MSM_DEBUG_UART3 |
| 646 | bool "UART3" |
| 647 | endchoice |
| 648 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 649 | choice |
| 650 | prompt "Default Timer" |
| 651 | default MSM7X00A_USE_GP_TIMER |
| 652 | |
| 653 | config MSM7X00A_USE_GP_TIMER |
| 654 | bool "GP Timer" |
| 655 | help |
| 656 | Low resolution timer that allows power collapse from idle. |
| 657 | |
| 658 | config MSM7X00A_USE_DG_TIMER |
| 659 | bool "DG Timer" |
| 660 | help |
| 661 | High resolution timer. |
| 662 | endchoice |
| 663 | |
| 664 | choice |
| 665 | prompt "Suspend sleep mode" |
| 666 | default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 667 | help |
| 668 | Allows overriding the sleep mode used. Leave at power |
| 669 | collapse suspend unless the arm9 image has problems. |
| 670 | |
| 671 | config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 672 | bool "Power collapse suspend" |
| 673 | help |
| 674 | Lowest sleep state. Returns through reset vector. |
| 675 | |
| 676 | config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE |
| 677 | bool "Power collapse" |
| 678 | help |
| 679 | Sleep state that returns through reset vector. |
| 680 | |
| 681 | config MSM7X00A_SLEEP_MODE_APPS_SLEEP |
| 682 | bool "Apps Sleep" |
| 683 | |
| 684 | config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 685 | bool "Ramp down cpu clock and wait for interrupt" |
| 686 | |
| 687 | config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT |
| 688 | bool "Wait for interrupt" |
| 689 | endchoice |
| 690 | |
| 691 | config MSM7X00A_SLEEP_MODE |
| 692 | int |
| 693 | default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 694 | default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE |
| 695 | default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP |
| 696 | default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 697 | default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT |
| 698 | |
| 699 | choice |
| 700 | prompt "Idle sleep mode" |
| 701 | default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 702 | help |
| 703 | Allows overriding the sleep mode used from idle. Leave at power |
| 704 | collapse suspend unless the arm9 image has problems. |
| 705 | |
| 706 | config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 707 | bool "Power collapse suspend" |
| 708 | help |
| 709 | Lowest sleep state. Returns through reset vector. |
| 710 | |
| 711 | config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 712 | bool "Power collapse" |
| 713 | help |
| 714 | Sleep state that returns through reset vector. |
| 715 | |
| 716 | config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP |
| 717 | bool "Apps Sleep" |
| 718 | |
| 719 | config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 720 | bool "Ramp down cpu clock and wait for interrupt" |
| 721 | |
| 722 | config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT |
| 723 | bool "Wait for interrupt" |
| 724 | endchoice |
| 725 | |
| 726 | config MSM7X00A_IDLE_SLEEP_MODE |
| 727 | int |
| 728 | default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 729 | default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 730 | default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP |
| 731 | default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 732 | default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT |
| 733 | |
| 734 | config MSM7X00A_IDLE_SLEEP_MIN_TIME |
| 735 | int "Minimum idle time before sleep" |
| 736 | default 20000000 |
| 737 | help |
| 738 | Minimum idle time in nanoseconds before entering low power mode. |
| 739 | |
| 740 | config MSM7X00A_IDLE_SPIN_TIME |
| 741 | int "Idle spin time before cpu ramp down" |
| 742 | default 80000 |
| 743 | help |
| 744 | Spin time in nanoseconds before ramping down cpu clock and entering |
| 745 | any low power state. |
| 746 | |
| 747 | menuconfig MSM_IDLE_STATS |
| 748 | bool "Collect idle statistics" |
| 749 | default y |
| 750 | help |
| 751 | Collect idle statistics and export them in proc/msm_pm_stats. |
| 752 | |
| 753 | if MSM_IDLE_STATS |
| 754 | |
| 755 | config MSM_IDLE_STATS_FIRST_BUCKET |
| 756 | int "First bucket time" |
| 757 | default 62500 |
| 758 | help |
| 759 | Upper time limit in nanoseconds of first bucket. |
| 760 | |
| 761 | config MSM_IDLE_STATS_BUCKET_SHIFT |
| 762 | int "Bucket shift" |
| 763 | default 2 |
| 764 | |
| 765 | config MSM_IDLE_STATS_BUCKET_COUNT |
| 766 | int "Bucket count" |
| 767 | default 10 |
| 768 | |
| 769 | config MSM_SUSPEND_STATS_FIRST_BUCKET |
| 770 | int "First bucket time for suspend" |
| 771 | default 1000000000 |
| 772 | help |
| 773 | Upper time limit in nanoseconds of first bucket of the |
| 774 | histogram. This is for collecting statistics on suspend. |
| 775 | |
| 776 | endif # MSM_IDLE_STATS |
| 777 | |
| 778 | config CPU_HAS_L2_PMU |
| 779 | bool "L2CC PMU Support" |
| 780 | help |
| 781 | Select this if the L2 cache controller has a Performance Monitoring Unit. |
| 782 | |
| 783 | config MSM_JTAG_V7 |
| 784 | depends on CPU_V7 |
| 785 | default y if DEBUG_KERNEL |
| 786 | bool "JTAG debug support" |
| 787 | help |
| 788 | Add additional support for JTAG kernel debugging. |
| 789 | |
| 790 | config HTC_HEADSET |
| 791 | tristate "HTC 2 Wire detection driver" |
| 792 | default n |
| 793 | help |
| 794 | Provides support for detecting HTC 2 wire devices, such as wired |
| 795 | headset, on the trout platform. Can be used with the msm serial |
| 796 | debugger, but not with serial console. |
| 797 | |
| 798 | config TROUT_BATTCHG |
| 799 | depends on MACH_TROUT && POWER_SUPPLY |
| 800 | default y |
| 801 | bool "Trout battery / charger driver" |
| 802 | |
| 803 | config HTC_PWRSINK |
| 804 | depends on MSM_SMD |
| 805 | default n |
| 806 | bool "HTC Power Sink Driver" |
| 807 | |
| 808 | config QSD_SVS |
| 809 | bool "QSD Static Voltage Scaling" |
| 810 | depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA) |
| 811 | default y |
| 812 | select TPS65023 |
| 813 | help |
| 814 | Enables static voltage scaling using the TPS65023 PMIC. |
| 815 | |
| 816 | config QSD_PMIC_DEFAULT_DCDC1 |
| 817 | int "PMIC default output voltage" |
| 818 | depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA) |
| 819 | default 1250 |
| 820 | help |
| 821 | This is the PMIC voltage at Linux kernel boot. |
| 822 | |
| 823 | config MSM_FIQ_SUPPORT |
| 824 | default y |
| 825 | bool "Enable installation of an FIQ handler." |
| 826 | |
| 827 | config MSM_SERIAL_DEBUGGER |
| 828 | select MSM_FIQ_SUPPORT |
| 829 | select KERNEL_DEBUGGER_CORE |
| 830 | default n |
| 831 | bool "FIQ Mode Serial Debugger" |
| 832 | help |
| 833 | The FIQ serial debugger can accept commands even when the |
| 834 | kernel is unresponsive due to being stuck with interrupts |
| 835 | disabled. Depends on the kernel debugger core in drivers/misc. |
| 836 | |
| 837 | config MSM_SERIAL_DEBUGGER_CONSOLE |
| 838 | depends on MSM_SERIAL_DEBUGGER |
| 839 | default n |
| 840 | bool "Console on FIQ Serial Debugger port" |
| 841 | help |
| 842 | Enables a console so that printk messages are displayed on |
| 843 | the debugger serial port as the occur. |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 844 | |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 845 | config MSM_PROC_COMM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 846 | default y |
| 847 | bool "Proc-Comm RPC Interface" |
| 848 | help |
| 849 | Enables a lightweight communications interface to the |
| 850 | baseband processor. |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 851 | |
Brian Swetland | 2eb44eb | 2008-09-29 16:00:48 -0700 | [diff] [blame] | 852 | config MSM_SMD |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 853 | bool "MSM Shared Memory Driver (SMD)" |
| 854 | help |
| 855 | Support for the shared memory interface between the apps |
| 856 | processor and the baseband processor. Provides access to |
| 857 | the "shared heap", as well as virtual serial channels |
| 858 | used to communicate with various services on the baseband |
| 859 | processor. |
| 860 | |
| 861 | choice |
| 862 | prompt "MSM Shared memory interface version" |
| 863 | depends on MSM_SMD |
| 864 | default MSM_SMD_PKG3 if ARCH_MSM_ARM11 |
| 865 | default MSM_SMD_PKG4 if ARCH_MSM_SCORPION |
| 866 | |
| 867 | config MSM_SMD_PKG3 |
| 868 | bool |
| 869 | prompt "Package 3" |
| 870 | |
| 871 | config MSM_SMD_PKG4 |
| 872 | bool |
| 873 | prompt "Package 4" |
| 874 | endchoice |
| 875 | |
| 876 | config MSM_IPC_ROUTER_SMD_XPRT |
| 877 | depends on MSM_SMD |
| 878 | default n |
| 879 | bool "MSM SMD XPRT Layer" |
| 880 | help |
| 881 | SMD Transport Layer for IPC Router |
| 882 | |
| 883 | config MSM_RPC_SDIO_XPRT |
| 884 | depends on MSM_SDIO_AL |
| 885 | default y |
| 886 | bool "MSM SDIO XPRT Layer" |
| 887 | help |
| 888 | SDIO Transport Layer for RPC Rouer |
| 889 | |
| 890 | config MSM_RPC_SDIO_DEBUG |
| 891 | depends on MSM_RPC_SDIO_XPRT |
| 892 | default y |
| 893 | bool "MSM SDIO XPRT debug support" |
| 894 | help |
| 895 | Support for debugging SDIO XPRT |
| 896 | |
| 897 | config MSM_SMD_DEBUG |
| 898 | depends on MSM_SMD |
| 899 | default y |
| 900 | bool "MSM SMD debug support" |
| 901 | help |
| 902 | Support for debugging the SMD for communication |
| 903 | between the ARM9 and ARM11 |
| 904 | |
| 905 | config MSM_SDIO_AL |
| 906 | depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK) |
| 907 | default y |
| 908 | tristate "SDIO-Abstraction-Layer" |
| 909 | help |
| 910 | Support MSM<->MDM Communication over SDIO bus. |
| 911 | MDM SDIO-Client should have pipes support. |
| 912 | |
| 913 | config MSM_SDIO_DMUX |
| 914 | bool "SDIO Data Mux Driver" |
| 915 | depends on MSM_SDIO_AL |
| 916 | default n |
| 917 | help |
| 918 | Support Muxed Data Channels over SDIO interface. |
| 919 | |
| 920 | config MSM_BAM_DMUX |
| 921 | bool "BAM Data Mux Driver" |
| 922 | depends on SPS |
| 923 | default n |
| 924 | help |
| 925 | Support Muxed Data Channels over BAM interface. |
| 926 | BAM has a limited number of pipes. This driver |
| 927 | provides a means to support more logical channels |
| 928 | via muxing than BAM could without muxing. |
| 929 | |
| 930 | config MSM_N_WAY_SMD |
| 931 | depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25)) |
| 932 | default y |
| 933 | bool "MSM N-WAY SMD support" |
| 934 | help |
| 935 | Supports APPS-QDSP SMD communication along with |
| 936 | normal APPS-MODEM SMD communication. |
| 937 | |
| 938 | config MSM_N_WAY_SMSM |
| 939 | depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25)) |
| 940 | default y |
| 941 | bool "MSM N-WAY SMSM support" |
| 942 | help |
| 943 | Supports APPS-QDSP SMSM communication along with |
| 944 | normal APPS-MODEM SMSM communication. |
| 945 | |
| 946 | config MSM_RESET_MODEM |
| 947 | tristate "Reset Modem Driver" |
| 948 | depends on MSM_SMD |
| 949 | default m |
| 950 | help |
| 951 | Allows the user to reset the modem through a device node. |
| 952 | |
| 953 | config MSM_SMD_LOGGING |
| 954 | depends on MSM_SMD |
| 955 | default y |
| 956 | bool "MSM Shared Memory Logger" |
| 957 | help |
| 958 | This option exposes the shared memory logger at /dev/smem_log |
| 959 | and a debugfs node named smem_log. |
| 960 | |
| 961 | If in doubt, say yes. |
| 962 | |
| 963 | config MSM_SMD_NMEA |
| 964 | bool "NMEA GPS Driver" |
| 965 | depends on MSM_SMD |
| 966 | default y |
| 967 | help |
| 968 | Enable this to support the NMEA GPS device. |
| 969 | |
| 970 | If in doubt, say yes. |
| 971 | |
| 972 | config MSM_SDIO_TTY |
| 973 | bool "SDIO TTY Driver" |
| 974 | depends on MSM_SDIO_AL |
| 975 | default n |
| 976 | help |
| 977 | Provides a TTY driver SDIO TTY |
| 978 | This driver can be used by user space |
| 979 | applications for passing data through the |
| 980 | SDIO interface. |
| 981 | |
| 982 | config MSM_SMD_TTY |
| 983 | bool "SMD TTY Driver" |
| 984 | depends on MSM_SMD |
| 985 | default y |
| 986 | help |
| 987 | Provides TTY interfaces to interact with the modem. |
| 988 | |
| 989 | If in doubt, say yes. |
| 990 | |
| 991 | config MSM_SMD_QMI |
| 992 | bool "SMD QMI Driver" |
| 993 | depends on MSM_SMD |
| 994 | default y |
| 995 | help |
| 996 | Manages network data connections. |
| 997 | |
| 998 | If in doubt, say yes. |
| 999 | |
| 1000 | config MSM_SMD_PKT |
| 1001 | bool "SMD Packet Driver" |
| 1002 | depends on MSM_SMD |
| 1003 | default y |
| 1004 | help |
| 1005 | Provides a binary SMD non-muxed packet port interface. |
| 1006 | |
| 1007 | If in doubt, say yes. |
| 1008 | |
| 1009 | config MSM_SDIO_CMUX |
| 1010 | bool "SDIO CMUX Driver" |
| 1011 | depends on MSM_SDIO_AL |
| 1012 | default n |
| 1013 | help |
| 1014 | Provides a Muxed port interface over SDIO QMI |
| 1015 | |
| 1016 | config MSM_DSPS |
| 1017 | bool "Sensors DSPS driver" |
| 1018 | depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960)) |
| 1019 | default n |
| 1020 | help |
| 1021 | Provides user-space interface to the sensors manager |
| 1022 | to turn on/off the Sensors Processor system clocks. |
| 1023 | It is the DSPS responsibility to turn on/off the sensors |
| 1024 | themself. |
| 1025 | The number of clocks and their name may vary between targets. |
| 1026 | It also triggers the PIL to load the DSPS firmware. |
| 1027 | |
| 1028 | config MSM_SDIO_CTL |
| 1029 | bool "SDIO CTL Driver" |
| 1030 | depends on MSM_SDIO_CMUX |
| 1031 | default n |
| 1032 | help |
| 1033 | Provides a binary SDIO control port interface. |
| 1034 | |
| 1035 | config MSM_ONCRPCROUTER |
| 1036 | depends on MSM_SMD |
| 1037 | default n |
| 1038 | bool "MSM ONCRPC router support" |
| 1039 | help |
| 1040 | Support for the MSM ONCRPC router for communication between |
| 1041 | the ARM9 and ARM11 |
| 1042 | |
| 1043 | config MSM_IPC_ROUTER |
| 1044 | depends on MSM_IPC_ROUTER_SMD_XPRT |
| 1045 | default n |
| 1046 | bool "MSM IPC Router support" |
| 1047 | help |
| 1048 | Support for the MSM IPC Router for communication between |
| 1049 | the APPs and the MODEM |
| 1050 | |
| 1051 | config MSM_ONCRPCROUTER_DEBUG |
| 1052 | depends on MSM_ONCRPCROUTER |
| 1053 | default y |
| 1054 | bool "MSM debug ONCRPC router support" |
| 1055 | help |
| 1056 | Support for debugging the ONCRPC router for communication |
| 1057 | between the ARM9 and ARM11 |
| 1058 | |
| 1059 | config MSM_RPC_LOOPBACK_XPRT |
| 1060 | depends on MSM_ONCRPCROUTER |
| 1061 | default n |
| 1062 | bool "MSM RPC local routing support" |
| 1063 | help |
| 1064 | Support for routing RPC messages between APPS clients |
| 1065 | and APPS servers. Helps in testing APPS RPC framework. |
| 1066 | |
| 1067 | config MSM_RPCSERVER_TIME_REMOTE |
| 1068 | depends on MSM_ONCRPCROUTER && RTC_HCTOSYS |
| 1069 | default y |
| 1070 | bool "Time remote RPC server" |
| 1071 | help |
| 1072 | The time remote server receives notification of time bases and |
| 1073 | reports these events to registered callback functions. |
| 1074 | |
| 1075 | config MSM_RPCSERVER_WATCHDOG |
| 1076 | depends on MSM_ONCRPCROUTER |
| 1077 | default y |
| 1078 | bool "Watchdog RPC server" |
| 1079 | help |
| 1080 | The dog_keepalive server handles watchdog events. |
| 1081 | |
| 1082 | config MSM_RPC_WATCHDOG |
| 1083 | depends on MSM_ONCRPCROUTER |
| 1084 | default n |
| 1085 | bool "Watchdog RPC client" |
| 1086 | help |
| 1087 | The dog_keepalive client module. |
| 1088 | |
| 1089 | config MSM_RPC_PING |
| 1090 | depends on MSM_ONCRPCROUTER && DEBUG_FS |
| 1091 | default m |
| 1092 | bool "MSM rpc ping" |
| 1093 | help |
| 1094 | Implements MSM rpc ping test module. |
| 1095 | |
| 1096 | config MSM_RPC_PROC_COMM_TEST |
| 1097 | depends on DEBUG_FS && MSM_PROC_COMM |
| 1098 | default m |
| 1099 | bool "MSM rpc proc comm test" |
| 1100 | help |
| 1101 | Implements MSM rpc proc comm test module. |
| 1102 | |
| 1103 | config MSM_RPC_OEM_RAPI |
| 1104 | depends on MSM_ONCRPCROUTER |
| 1105 | default m |
| 1106 | bool "MSM oem rapi" |
| 1107 | help |
| 1108 | Implements MSM oem rapi client module. |
| 1109 | |
| 1110 | config MSM_RPCSERVER_HANDSET |
| 1111 | depends on MSM_ONCRPCROUTER |
| 1112 | default y |
| 1113 | bool "Handset events RPC server" |
| 1114 | help |
| 1115 | Support for receiving handset events like headset detect, |
| 1116 | headset switch and clamshell state. |
| 1117 | |
| 1118 | config MSM_RMT_STORAGE_CLIENT |
| 1119 | depends on (ARCH_MSM && MSM_ONCRPCROUTER) |
| 1120 | default n |
| 1121 | bool "Remote Storage RPC client" |
| 1122 | help |
| 1123 | Provide RPC mechanism for remote processors to access storage |
| 1124 | device on apps processor. |
| 1125 | |
| 1126 | config MSM_RMT_STORAGE_CLIENT_STATS |
| 1127 | depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS) |
| 1128 | default n |
| 1129 | bool "Remote storage RPC client performance statistics" |
| 1130 | help |
| 1131 | Collects performance statistics and shows this information |
| 1132 | through a debugfs file rmt_storage_stats. |
| 1133 | |
| 1134 | config MSM_SDIO_SMEM |
| 1135 | depends on MSM_SDIO_AL |
| 1136 | default n |
| 1137 | bool "SDIO SMEM for remote storage" |
| 1138 | help |
| 1139 | Copies data from remote MDM9K memory to local MSM8x60 |
| 1140 | memory. Used by remote storage client to shadow |
| 1141 | MDM9K filesystem. |
| 1142 | |
| 1143 | config MSM_DALRPC |
| 1144 | bool "DAL RPC support" |
| 1145 | depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT |
| 1146 | default y |
| 1147 | help |
| 1148 | Supports RPC calls to DAL devices on remote processor cores. |
| 1149 | |
| 1150 | config MSM_DALRPC_TEST |
| 1151 | tristate "DAL RPC test module" |
| 1152 | depends on (MSM_DALRPC && DEBUG_FS) |
| 1153 | default m |
| 1154 | help |
| 1155 | Exercises DAL RPC calls to QDSP6. |
| 1156 | |
| 1157 | if CPU_FREQ_MSM |
| 1158 | |
| 1159 | config MSM_CPU_FREQ_SET_MIN_MAX |
| 1160 | bool "Set Min/Max CPU frequencies." |
| 1161 | default n |
| 1162 | help |
| 1163 | Allow setting min and max CPU frequencies. Sysfs can be used |
| 1164 | to override these values. |
| 1165 | |
| 1166 | config MSM_CPU_FREQ_MAX |
| 1167 | int "Max CPU Frequency" |
| 1168 | depends on MSM_CPU_FREQ_SET_MIN_MAX |
| 1169 | default 384000 |
| 1170 | |
| 1171 | config MSM_CPU_FREQ_MIN |
| 1172 | int "Min CPU Frequency" |
| 1173 | depends on MSM_CPU_FREQ_SET_MIN_MAX |
| 1174 | default 245760 |
| 1175 | |
| 1176 | endif # CPU_FREQ_MSM |
| 1177 | |
| 1178 | config MSM_CPU_AVS |
| 1179 | bool "Enable software controlled Adaptive Voltage Scaling (AVS)" |
| 1180 | depends on (ARCH_MSM_SCORPION && QSD_SVS) |
| 1181 | depends on ARCH_QSD8X50 |
| 1182 | default n |
| 1183 | select MSM_AVS_HW |
| 1184 | help |
| 1185 | This enables the s/w control of Adaptive Voltage Scaling feature |
| 1186 | in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency |
| 1187 | based on feedback from three ring oscillators in the CPU. |
| 1188 | |
| 1189 | config MSM_AVS_HW |
| 1190 | bool "Enable Adaptive Voltage Scaling (AVS)" |
| 1191 | default n |
| 1192 | help |
| 1193 | Enable AVS hardware to fine tune voltage at each frequency. The |
| 1194 | AVS hardware blocks associated with each Qualcomm ARMv7 cores can |
| 1195 | fine tune the voltages based on the feedback from the ring |
| 1196 | oscillators. |
| 1197 | |
| 1198 | config MSM_HW3D |
| 1199 | tristate "MSM Hardware 3D Register Driver" |
| 1200 | depends on ANDROID_PMEM |
| 1201 | default y |
| 1202 | help |
| 1203 | Provides access to registers needed by the userspace OpenGL|ES |
| 1204 | library. |
| 1205 | |
| 1206 | config MSM_ADSP |
| 1207 | depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27) |
| 1208 | tristate "MSM ADSP driver" |
| 1209 | depends on ANDROID_PMEM |
| 1210 | default y |
| 1211 | help |
| 1212 | Provides access to registers needed by the userspace aDSP library. |
| 1213 | |
| 1214 | config ADSP_RPC_VER |
| 1215 | hex |
| 1216 | default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009)) |
| 1217 | default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008)) |
| 1218 | depends on MSM_ADSP |
| 1219 | help |
| 1220 | Select proper ADSP RPC version |
| 1221 | choice |
| 1222 | prompt "ADSP RPC version" |
| 1223 | |
| 1224 | default AMSS_7X25_VERSION_2009 |
| 1225 | |
| 1226 | config AMSS_7X25_VERSION_2009 |
| 1227 | bool "2.0.09" |
| 1228 | |
| 1229 | config AMSS_7X25_VERSION_2008 |
| 1230 | bool "2.0.08" |
| 1231 | endchoice |
| 1232 | |
| 1233 | config MSM7KV2_AUDIO |
| 1234 | bool "MSM7K v2 audio" |
| 1235 | depends on (ARCH_MSM7X30 && ANDROID_PMEM) |
| 1236 | default y |
| 1237 | help |
| 1238 | Enables QDSP5V2-based audio drivers for audio playbacks and |
| 1239 | voice call. |
| 1240 | |
| 1241 | config MSM_ADSP_REPORT_EVENTS |
| 1242 | bool "Report modem events from the DSP" |
| 1243 | default y |
| 1244 | depends on (MSM_ADSP || MSM7KV2_AUDIO) |
| 1245 | help |
| 1246 | Normally, only messages from the aDSP are reported to userspace. |
| 1247 | With this option, we report events from the aDSP as well. |
| 1248 | |
| 1249 | config MSM_QDSP6 |
| 1250 | tristate "QDSP6 support" |
| 1251 | depends on ARCH_QSD8X50 && ANDROID_PMEM |
| 1252 | default y |
| 1253 | help |
| 1254 | Enable support for qdsp6. This provides audio and video functionality. |
| 1255 | |
| 1256 | config MSM8X60_AUDIO |
| 1257 | tristate "MSM8X60 audio support" |
| 1258 | depends on ARCH_MSM8X60 && ANDROID_PMEM |
| 1259 | default y |
| 1260 | help |
| 1261 | Enable support for qdsp6v2. This provides audio functionality. |
| 1262 | |
| 1263 | config MSM8X60_FTM_AUDIO_DEVICES |
| 1264 | bool "MSM8X60 audio factory test mode support" |
| 1265 | depends on MSM8X60_AUDIO |
| 1266 | help |
| 1267 | Enable support audio factory test mode devices. This is used |
| 1268 | in a production line environment. |
| 1269 | |
Ben Romberger | 45b351c | 2011-07-20 22:37:27 -0700 | [diff] [blame] | 1270 | config RTAC |
| 1271 | bool "MSM8K real-time audio calibration support" |
| 1272 | default y |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1273 | help |
Ben Romberger | 45b351c | 2011-07-20 22:37:27 -0700 | [diff] [blame] | 1274 | Enable support for rtac. This enables calibration during |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1275 | audio operation |
| 1276 | |
| 1277 | config MSM7X27A_AUDIO |
| 1278 | bool "MSM7X27A audio support" |
| 1279 | depends on ARCH_MSM7X27A && MSM_ADSP |
| 1280 | default n |
| 1281 | help |
| 1282 | Enable support for 7x27a. This provides audio functionality. |
| 1283 | |
Justin Paupore | a6cd209 | 2011-06-22 16:19:45 -0700 | [diff] [blame] | 1284 | config MSM_PROC_COMM_REGULATOR |
| 1285 | bool |
| 1286 | depends on MSM_PROC_COMM && REGULATOR |
| 1287 | help |
| 1288 | Enable regulator framework support for regulators managed by PMLIB |
| 1289 | on the modem, and controlled through proccomm calls. |
| 1290 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1291 | config MSM_VREG_SWITCH_INVERTED |
| 1292 | bool "Reverse vreg switch polarity" |
| 1293 | default n |
| 1294 | help |
| 1295 | Reverses the enable and disable for vreg switch. |
| 1296 | |
| 1297 | config MSM_DMA_TEST |
| 1298 | tristate "MSM DMA test module" |
| 1299 | default m |
| 1300 | help |
| 1301 | Intended to be compiled as a module. Provides a device node |
| 1302 | and ioctls for testing the MSM dma system. |
| 1303 | |
| 1304 | config WIFI_CONTROL_FUNC |
| 1305 | bool "Enable WiFi control function abstraction" |
| 1306 | help |
| 1307 | Enables Power/Reset/Carddetect function abstraction |
| 1308 | |
| 1309 | config WIFI_MEM_PREALLOC |
| 1310 | depends on WIFI_CONTROL_FUNC |
| 1311 | bool "Preallocate memory for WiFi buffers" |
| 1312 | help |
| 1313 | Preallocates memory buffers for WiFi driver |
| 1314 | |
| 1315 | config QSD_AUDIO |
| 1316 | bool "QSD audio" |
| 1317 | depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP |
| 1318 | default y |
| 1319 | help |
| 1320 | Provides PCM, MP3, and AAC audio playback. |
| 1321 | |
| 1322 | config AUDIO_AAC_PLUS |
| 1323 | depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO) |
| 1324 | bool "AAC+ Audio" |
| 1325 | default y |
| 1326 | help |
| 1327 | Provides AAC+ decoding |
| 1328 | |
| 1329 | config AUDIO_ENHANCED_AAC_PLUS |
| 1330 | depends on AUDIO_AAC_PLUS |
| 1331 | bool "Enhanced AAC+ Audio" |
| 1332 | default y |
| 1333 | help |
| 1334 | Provides Enhanced AAC+ decoding |
| 1335 | |
| 1336 | config SURF_FFA_GPIO_KEYPAD |
| 1337 | bool "MSM SURF/FFA GPIO keypad" |
| 1338 | depends on INPUT_GPIO = "y" |
| 1339 | default y |
| 1340 | help |
| 1341 | Select if the GPIO keypad is attached. |
| 1342 | |
| 1343 | config MSM_SLEEP_TIME_OVERRIDE |
| 1344 | bool "Allow overriding suspend/sleep time with PM module parameter" |
| 1345 | default y |
| 1346 | help |
| 1347 | Enable the module parameter sleep_time_override. Specified |
| 1348 | in units of seconds, it overwrites the normal sleep time of |
| 1349 | suspend. The feature is required for automated power management |
| 1350 | testing. |
| 1351 | |
| 1352 | config MSM_MEMORY_LOW_POWER_MODE |
| 1353 | bool "Control the low power modes of memory" |
| 1354 | default n |
| 1355 | help |
| 1356 | The application processor controls whether memory should enter |
| 1357 | which low power mode. |
| 1358 | |
| 1359 | choice |
| 1360 | prompt "Default Memory Low Power Mode during Idle" |
| 1361 | depends on MSM_MEMORY_LOW_POWER_MODE |
| 1362 | default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE |
| 1363 | help |
| 1364 | Selects the default low power mode of the memory during idle |
| 1365 | sleep. |
| 1366 | |
| 1367 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE |
| 1368 | bool "Memory active" |
| 1369 | |
| 1370 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION |
| 1371 | bool "Memory in retention" |
| 1372 | |
| 1373 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN |
| 1374 | bool "Memory in deep power down" |
| 1375 | endchoice |
| 1376 | |
| 1377 | choice |
| 1378 | prompt "Default Memory Low Power Mode during Suspend" |
| 1379 | depends on MSM_MEMORY_LOW_POWER_MODE |
| 1380 | default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE |
| 1381 | help |
| 1382 | Selects the default low power mode of the memory during suspend |
| 1383 | sleep. |
| 1384 | |
| 1385 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE |
| 1386 | bool "Memory active" |
| 1387 | |
| 1388 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION |
| 1389 | bool "Memory in retention" |
| 1390 | |
| 1391 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN |
| 1392 | bool "Memory in deep power down" |
| 1393 | endchoice |
| 1394 | |
| 1395 | choice |
| 1396 | prompt "Power management timeout action" |
| 1397 | default MSM_PM_TIMEOUT_HALT |
| 1398 | help |
| 1399 | Selects the Application Processor's action when Power Management |
| 1400 | times out waiting for Modem's handshake. |
| 1401 | |
| 1402 | config MSM_PM_TIMEOUT_HALT |
| 1403 | bool "Halt the Application Processor" |
| 1404 | |
| 1405 | config MSM_PM_TIMEOUT_RESET_MODEM |
| 1406 | bool "Reset the Modem Processor" |
| 1407 | |
| 1408 | config MSM_PM_TIMEOUT_RESET_CHIP |
| 1409 | bool "Reset the entire chip" |
| 1410 | endchoice |
| 1411 | |
| 1412 | config MSM_IDLE_WAIT_ON_MODEM |
| 1413 | int "Wait for Modem to become ready for idle power collapse" |
| 1414 | default 0 |
| 1415 | help |
| 1416 | If Modem is not ready to handle Application Processor's request |
| 1417 | for idle power collapse, wait the number of microseconds in case |
| 1418 | Modem becomes ready soon. |
| 1419 | |
| 1420 | config MSM_PIL |
| 1421 | bool "Peripheral image loading" |
| 1422 | select FW_LOADER |
| 1423 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 1424 | default n |
| 1425 | help |
| 1426 | Some peripherals need to be loaded into memory before they can be |
| 1427 | brought out of reset. |
| 1428 | |
| 1429 | Say yes to support these devices. |
| 1430 | |
| 1431 | config MSM_SECURE_PIL |
| 1432 | bool "Secure Peripheral image loading" |
| 1433 | depends on MSM_PIL |
| 1434 | default n |
| 1435 | |
| 1436 | config MSM_SCM |
| 1437 | bool "Secure Channel Manager (SCM) support" |
| 1438 | default n |
| 1439 | |
| 1440 | config MSM_SUBSYSTEM_RESTART |
| 1441 | bool "MSM Subsystem Restart Driver" |
| 1442 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 1443 | default n |
| 1444 | help |
| 1445 | This option enables the MSM subsystem restart driver, which provides |
| 1446 | a framework to handle subsystem crashes. |
| 1447 | |
| 1448 | config MSM_MODEM_8960 |
| 1449 | bool "MSM 8960 Modem driver" |
| 1450 | depends on (ARCH_MSM8960) |
| 1451 | help |
| 1452 | This option enables the modem driver for the MSM8960, which monitors |
| 1453 | modem hardware watchdog interrupt lines and plugs into the subsystem |
| 1454 | restart and PIL drivers. |
| 1455 | |
Bharath Ramachandramurthy | ff061c7 | 2011-06-27 14:22:33 -0700 | [diff] [blame] | 1456 | config MSM_LPASS_8960 |
| 1457 | tristate "MSM 8960 Lpass driver" |
| 1458 | depends on (ARCH_MSM8960) |
| 1459 | help |
| 1460 | This option enables the lpass driver for the MSM8960, which monitors |
| 1461 | lpass hardware watchdog interrupt lines and plugs into the subsystem |
| 1462 | restart and PIL drivers. |
| 1463 | |
Ankur Nandwani | e258cf0 | 2011-08-19 10:16:38 -0700 | [diff] [blame] | 1464 | config MSM_WCNSS_SSR_8960 |
| 1465 | tristate "MSM 8960 WCNSS restart module" |
| 1466 | depends on (ARCH_MSM8960) |
| 1467 | help |
| 1468 | This option enables the WCNSS restart module for MSM8960, which |
| 1469 | monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS |
| 1470 | into the subsystem restart framework. |
| 1471 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1472 | config SCORPION_Uni_45nm_BUG |
| 1473 | bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA" |
| 1474 | depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A) |
| 1475 | default y |
| 1476 | help |
| 1477 | Invalidating the Instruction Cache by Modified Virtual Address to PoU and |
| 1478 | invalidating the Branch Predictor Array by Modified Virtual Address can |
| 1479 | create invalid entries in the TLB with the wrong ASID values on Scorpion |
| 1480 | Uniprocessor 45nm (SC45U) cores. This option enables the recommended software |
| 1481 | workaround for Scorpion Uniprocessor 45nm cores. |
| 1482 | |
| 1483 | This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores. |
| 1484 | |
| 1485 | config MSM_RPM_LOG |
| 1486 | tristate "MSM Resource Power Manager Log Driver" |
| 1487 | depends on DEBUG_FS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1488 | default n |
| 1489 | help |
| 1490 | This option enables a driver which can read from a circular buffer |
| 1491 | of messages produced by the RPM. These messages provide diagnostic |
| 1492 | information about RPM operation. The driver outputs the messages |
| 1493 | via a debugfs node. |
| 1494 | |
| 1495 | config MSM_RPM_STATS_LOG |
| 1496 | tristate "MSM Resource Power Manager Stat Driver" |
| 1497 | depends on DEBUG_FS |
| 1498 | depends on ARCH_MSM8X60 |
| 1499 | default n |
| 1500 | help |
| 1501 | This option enables a driver which reads RPM messages from a shared |
| 1502 | memory location. These messages provide statistical information about |
| 1503 | the low power modes that RPM enters. The drivers outputs the message |
| 1504 | via a debugfs node. |
| 1505 | |
| 1506 | config MSM_IOMMU |
| 1507 | bool "MSM IOMMU Support" |
| 1508 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1509 | select IOMMU_API |
| 1510 | default n |
| 1511 | help |
| 1512 | Support for the IOMMUs found on certain Qualcomm SOCs. |
| 1513 | These IOMMUs allow virtualization of the address space used by most |
| 1514 | cores within the multimedia subsystem. |
| 1515 | |
| 1516 | If unsure, say N here. |
| 1517 | |
| 1518 | config IOMMU_PGTABLES_L2 |
| 1519 | bool "Allow SMMU page tables in the L2 cache (Experimental)" |
| 1520 | depends on MSM_IOMMU=y |
| 1521 | depends on MMU |
| 1522 | depends on CPU_DCACHE_DISABLE=n |
| 1523 | depends on SMP |
| 1524 | default y |
| 1525 | help |
| 1526 | Improves TLB miss latency at the expense of potential L2 pollution. |
| 1527 | However, with large multimedia buffers, the TLB should mostly contain |
| 1528 | section mappings and TLB misses should be quite infrequent. |
| 1529 | Most people can probably say Y here. |
| 1530 | |
| 1531 | config MSM_DIRECT_SCLK_ACCESS |
| 1532 | bool "Direct access to the SCLK timer" |
| 1533 | default n |
| 1534 | |
| 1535 | config IOMMU_API |
| 1536 | bool |
Brian Swetland | 2eb44eb | 2008-09-29 16:00:48 -0700 | [diff] [blame] | 1537 | |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 1538 | config MSM_GPIOMUX |
| 1539 | bool |
| 1540 | |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 1541 | config MSM_V2_TLMM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1542 | bool |
| 1543 | |
| 1544 | config FSM9XXX_TLMM |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 1545 | bool |
Stepan Moskovchenko | 0ab84745 | 2010-11-12 19:29:57 -0800 | [diff] [blame] | 1546 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1547 | config MSM_SECURE_IO |
Stepan Moskovchenko | 0ab84745 | 2010-11-12 19:29:57 -0800 | [diff] [blame] | 1548 | bool |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 1549 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1550 | config MSM_NATIVE_RESTART |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 1551 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1552 | |
| 1553 | config MSM_BUS_SCALING |
| 1554 | bool "Bus scaling driver" |
| 1555 | default n |
| 1556 | |
Gagan Mac | 85c7049 | 2011-06-10 16:07:47 -0600 | [diff] [blame] | 1557 | config MSM_BUS_RPM_MULTI_TIER_ENABLED |
| 1558 | bool "RPM Multi-tiering Configuration" |
| 1559 | depends on MSM_BUS_SCALING |
| 1560 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1561 | config MSM_WATCHDOG |
| 1562 | bool "MSM Watchdog Support" |
| 1563 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1564 | help |
| 1565 | This enables the watchdog as is present on 8x60. Currently we use |
| 1566 | core 0's watchdog, and reset the entire SoC if it times out. It does |
| 1567 | not run during the bootup process, so it will not catch any early |
| 1568 | lockups. |
| 1569 | |
| 1570 | config MSM_DLOAD_MODE |
| 1571 | bool "Enable download mode on crashes" |
| 1572 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1573 | default n |
| 1574 | help |
| 1575 | This makes the SoC enter download mode when it resets |
| 1576 | due to a kernel panic. Note that this doesn't by itself |
| 1577 | make the kernel reboot on a kernel panic - that must be |
| 1578 | enabled via another mechanism. |
| 1579 | |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 1580 | config MSM_TRACE_ACROSS_PC |
| 1581 | bool "Trace support across power collapse" |
| 1582 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1583 | help |
| 1584 | Enables trace state to be saved and restored across power collapse. |
| 1585 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1586 | config MSM_ETM |
| 1587 | tristate "Enable MSM ETM and ETB" |
| 1588 | depends on ARCH_MSM8X60 |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 1589 | select MSM_TRACE_ACROSS_PC |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1590 | help |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 1591 | Enables embedded trace collection on Qualcomm v7 CPUs. |
| 1592 | |
| 1593 | config MSM_QDSS |
| 1594 | bool "Coresight tracing support" |
| 1595 | depends on ARCH_MSM8960 |
| 1596 | select MSM_TRACE_ACROSS_PC |
| 1597 | help |
| 1598 | Enables support for Qualcomm debug subsystem. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1599 | |
| 1600 | config MSM_SLEEP_STATS |
| 1601 | bool "Enable exporting of MSM sleep stats to userspace" |
| 1602 | depends on CPU_IDLE |
| 1603 | default n |
| 1604 | |
| 1605 | config MSM_STANDALONE_POWER_COLLAPSE |
| 1606 | bool "Enable standalone power collapse" |
| 1607 | default n |
| 1608 | |
| 1609 | config MSM_GSBI9_UART |
| 1610 | bool "Enable GSBI9 UART device" |
| 1611 | default n |
| 1612 | help |
| 1613 | This enables GSBI9 configured into UART. |
| 1614 | |
| 1615 | config MSM_SHARED_GPIO_FOR_UART2DM |
| 1616 | bool "Use shared GPIOs into UART mode" |
| 1617 | depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT) |
| 1618 | help |
| 1619 | This option configures GPIO muxed with SDC4/MMC3 |
| 1620 | 8-bit mode into UART mode. It is used for serial |
| 1621 | console on UART2DM. Say Y if you want to have |
| 1622 | serial console on UART2DM. |
| 1623 | |
| 1624 | config MSM_SHOW_RESUME_IRQ |
| 1625 | bool "Enable logging of interrupts that could have caused resume" |
| 1626 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 1627 | default n |
| 1628 | help |
| 1629 | This option logs wake up interrupts that have triggered just before |
| 1630 | the resume loop unrolls. Say Y if you want to debug why the system |
| 1631 | resumed. |
| 1632 | |
| 1633 | config BT_MSM_PINTEST |
| 1634 | tristate "MSM Bluetooth Pin Connectivity Test" |
| 1635 | depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS) |
| 1636 | default n |
| 1637 | help |
| 1638 | Bluetooth MSM Pin Connectivity test module. |
| 1639 | This driver provides support for verifying the MSM to BT pin |
| 1640 | connectivity. |
| 1641 | |
| 1642 | config MSM_FAKE_BATTERY |
| 1643 | depends on POWER_SUPPLY |
| 1644 | default n |
| 1645 | bool "MSM Fake Battery" |
| 1646 | help |
| 1647 | Enables MSM fake battery driver. |
| 1648 | |
| 1649 | config MSM_QDSP6_APR |
| 1650 | bool "Audio QDSP6 APR support" |
| 1651 | depends on MSM_SMD |
| 1652 | default n |
| 1653 | help |
| 1654 | Enable APR IPC protocol support between |
| 1655 | application processor and QDSP6. APR is |
| 1656 | used by audio driver to configure QDSP6's |
| 1657 | ASM, ADM and AFE. |
| 1658 | |
| 1659 | |
| 1660 | config MSM_AUDIO_QDSP6 |
| 1661 | bool "QDSP6 HW Audio support" |
| 1662 | select SND_SOC_MSM_QDSP6_INTF |
| 1663 | default n |
| 1664 | help |
| 1665 | Enable HW audio support in QDSP6. |
| 1666 | QDSP6 can support HW encoder & decoder and audio processing |
| 1667 | |
| 1668 | config MSM_RPC_VIBRATOR |
| 1669 | bool "RPC based MSM Vibrator Support" |
| 1670 | depends on MSM_ONCRPCROUTER |
| 1671 | help |
| 1672 | Enable the vibrator support on MSM over RPC. The vibrator |
| 1673 | is connected on the PMIC. Say Y if you want to enable this |
| 1674 | feature. |
| 1675 | |
| 1676 | config PM8XXX_RPC_VIBRATOR |
| 1677 | bool "RPC based Vibrator on PM8xxx PMICs" |
| 1678 | depends on MSM_RPC_VIBRATOR |
| 1679 | help |
| 1680 | Enable the vibrator support on MSM over RPC. The vibrator |
| 1681 | is connected on the PM8XXX PMIC. Say Y if you want to enable |
| 1682 | this feature. |
| 1683 | |
| 1684 | config MSM_SPM_V1 |
| 1685 | bool "Driver support for SPM Version 1" |
| 1686 | help |
| 1687 | Enables the support for Version 1 of the SPM driver. SPM hardware is |
| 1688 | used to manage the processor power during sleep. The driver allows |
| 1689 | configuring SPM to allow different power modes. |
| 1690 | |
| 1691 | config MSM_SPM_V2 |
| 1692 | bool "Driver support for SPM Version 2" |
| 1693 | help |
| 1694 | Enables the support for Version 2 of the SPM driver. SPM hardware is |
| 1695 | used to manage the processor power during sleep. The driver allows |
| 1696 | configuring SPM to allow different power modes. |
| 1697 | |
| 1698 | config MSM_L2_SPM |
| 1699 | bool "SPM support for L2 cache" |
| 1700 | depends on MSM_SPM_V2 |
| 1701 | help |
| 1702 | Enable SPM driver support for L2 cache. Some MSM chipsets allow |
| 1703 | control of L2 cache low power mode with a Subsystem Power manager. |
| 1704 | Enabling this driver allows configuring L2 SPM for low power modes |
| 1705 | on supported chipsets. |
| 1706 | |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1707 | endif |