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 | |
Rohit Vaswani | a8e7a83 | 2011-09-28 21:00:05 -0700 | [diff] [blame] | 531 | config MACH_MSM9615_CDP |
| 532 | depends on ARCH_MSM9615 |
| 533 | bool "MSM9615 CDP" |
| 534 | help |
| 535 | Support for the Qualcomm MSM9615 CDP device. |
| 536 | |
| 537 | config MACH_MSM9615_MTP |
| 538 | depends on ARCH_MSM9615 |
| 539 | bool "MSM9615 MTP" |
| 540 | help |
| 541 | Support for the Qualcomm MSM9615 MTP device. |
| 542 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 543 | config MSM_USE_TSIF1 |
| 544 | depends on ARCH_MSM8X60 |
| 545 | bool "MSM8x60 use TSIF1" |
| 546 | help |
| 547 | Selects TSIF1 core to be used rather than TSIF0. |
| 548 | The two TSIF cores share the same DM configuration |
| 549 | so they cannot be used simultaneously. |
| 550 | |
| 551 | config MACH_APQ8064_SIM |
| 552 | depends on ARCH_APQ8064 |
| 553 | bool "APQ8064 Simulator" |
| 554 | help |
| 555 | Support for the Qualcomm APQ8064 simulator. |
| 556 | |
Stepan Moskovchenko | d256ddf | 2011-09-08 12:34:46 -0700 | [diff] [blame] | 557 | config MACH_APQ8064_RUMI3 |
| 558 | depends on ARCH_APQ8064 |
| 559 | bool "APQ8064 RUMI3" |
| 560 | help |
| 561 | Support for the Qualcomm APQ8064 RUMI3 emulator. |
| 562 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 563 | config MACH_FSM9XXX_SURF |
| 564 | depends on ARCH_FSM9XXX |
| 565 | depends on !MSM_STACKED_MEMORY |
| 566 | default y |
| 567 | bool "FSM9XXX SURF" |
| 568 | help |
| 569 | Support for the Qualcomm FSM9xxx femtocell |
| 570 | chipset based SURF evaluation board and |
| 571 | FFA board. |
| 572 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 573 | endmenu |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 574 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 575 | config MSM_STACKED_MEMORY |
| 576 | bool "Stacked Memory" |
| 577 | default y |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 578 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 579 | This option is used to indicate the presence of on-die stacked |
| 580 | memory. When present this memory bank is used for a high speed |
| 581 | shared memory interface. When not present regular RAM is used. |
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 PHYS_OFFSET |
| 584 | hex |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 585 | default "0x40800000" if ARCH_MSM9615 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 586 | default "0x80200000" if ARCH_APQ8064 |
| 587 | default "0x80200000" if ARCH_MSM8960 |
| 588 | default "0x10000000" if ARCH_FSM9XXX |
| 589 | default "0x00200000" if !MSM_STACKED_MEMORY |
| 590 | default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A |
| 591 | default "0x20000000" if ARCH_QSD8X50 |
| 592 | default "0x40200000" if ARCH_MSM8X60 |
| 593 | default "0x10000000" |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 594 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 595 | config KERNEL_PMEM_EBI_REGION |
| 596 | bool "Enable in-kernel PMEM region for EBI" |
| 597 | default y if ARCH_MSM8X60 |
| 598 | depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960) |
| 599 | help |
| 600 | Enable the in-kernel PMEM allocator to use EBI memory. |
| 601 | |
| 602 | config KERNEL_PMEM_SMI_REGION |
| 603 | bool "Enable in-kernel PMEM region for SMI" |
| 604 | default y if ARCH_MSM8X60 |
| 605 | depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM)) |
| 606 | help |
| 607 | Enable the in-kernel PMEM allocator to use SMI memory. |
| 608 | |
| 609 | config PMEM_GPU0 |
| 610 | bool "Enable PMEM GPU0 region" |
| 611 | default y |
| 612 | depends on ARCH_QSD8X50 && ANDROID_PMEM |
| 613 | help |
| 614 | Enable the PMEM GPU0 device on SMI Memory. |
| 615 | |
| 616 | config MSM_AMSS_VERSION |
| 617 | int |
| 618 | default 6210 if MSM_AMSS_VERSION_6210 |
| 619 | default 6220 if MSM_AMSS_VERSION_6220 |
| 620 | default 6225 if MSM_AMSS_VERSION_6225 |
| 621 | |
| 622 | choice |
| 623 | prompt "AMSS modem firmware version" |
| 624 | |
| 625 | default MSM_AMSS_VERSION_6225 |
| 626 | |
| 627 | config MSM_AMSS_VERSION_6210 |
| 628 | bool "6.2.10" |
| 629 | |
| 630 | config MSM_AMSS_VERSION_6220 |
| 631 | bool "6.2.20" |
| 632 | |
| 633 | config MSM_AMSS_VERSION_6225 |
| 634 | bool "6.2.20 + New ADSP" |
| 635 | endchoice |
Stepan Moskovchenko | 2607b0a | 2010-11-15 17:46:10 -0800 | [diff] [blame] | 636 | |
Pavel Machek | 6339f66 | 2009-11-02 11:48:29 +0100 | [diff] [blame] | 637 | config MSM_DEBUG_UART |
| 638 | int |
| 639 | default 1 if MSM_DEBUG_UART1 |
| 640 | default 2 if MSM_DEBUG_UART2 |
| 641 | default 3 if MSM_DEBUG_UART3 |
| 642 | |
| 643 | choice |
| 644 | prompt "Debug UART" |
| 645 | |
| 646 | default MSM_DEBUG_UART_NONE |
| 647 | |
| 648 | config MSM_DEBUG_UART_NONE |
| 649 | bool "None" |
| 650 | |
| 651 | config MSM_DEBUG_UART1 |
| 652 | bool "UART1" |
| 653 | |
| 654 | config MSM_DEBUG_UART2 |
| 655 | bool "UART2" |
| 656 | |
| 657 | config MSM_DEBUG_UART3 |
| 658 | bool "UART3" |
| 659 | endchoice |
| 660 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 661 | choice |
| 662 | prompt "Default Timer" |
| 663 | default MSM7X00A_USE_GP_TIMER |
| 664 | |
| 665 | config MSM7X00A_USE_GP_TIMER |
| 666 | bool "GP Timer" |
| 667 | help |
| 668 | Low resolution timer that allows power collapse from idle. |
| 669 | |
| 670 | config MSM7X00A_USE_DG_TIMER |
| 671 | bool "DG Timer" |
| 672 | help |
| 673 | High resolution timer. |
| 674 | endchoice |
| 675 | |
| 676 | choice |
| 677 | prompt "Suspend sleep mode" |
| 678 | default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 679 | help |
| 680 | Allows overriding the sleep mode used. Leave at power |
| 681 | collapse suspend unless the arm9 image has problems. |
| 682 | |
| 683 | config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 684 | bool "Power collapse suspend" |
| 685 | help |
| 686 | Lowest sleep state. Returns through reset vector. |
| 687 | |
| 688 | config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE |
| 689 | bool "Power collapse" |
| 690 | help |
| 691 | Sleep state that returns through reset vector. |
| 692 | |
| 693 | config MSM7X00A_SLEEP_MODE_APPS_SLEEP |
| 694 | bool "Apps Sleep" |
| 695 | |
| 696 | config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 697 | bool "Ramp down cpu clock and wait for interrupt" |
| 698 | |
| 699 | config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT |
| 700 | bool "Wait for interrupt" |
| 701 | endchoice |
| 702 | |
| 703 | config MSM7X00A_SLEEP_MODE |
| 704 | int |
| 705 | default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 706 | default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE |
| 707 | default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP |
| 708 | default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 709 | default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT |
| 710 | |
| 711 | choice |
| 712 | prompt "Idle sleep mode" |
| 713 | default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 714 | help |
| 715 | Allows overriding the sleep mode used from idle. Leave at power |
| 716 | collapse suspend unless the arm9 image has problems. |
| 717 | |
| 718 | config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 719 | bool "Power collapse suspend" |
| 720 | help |
| 721 | Lowest sleep state. Returns through reset vector. |
| 722 | |
| 723 | config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 724 | bool "Power collapse" |
| 725 | help |
| 726 | Sleep state that returns through reset vector. |
| 727 | |
| 728 | config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP |
| 729 | bool "Apps Sleep" |
| 730 | |
| 731 | config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 732 | bool "Ramp down cpu clock and wait for interrupt" |
| 733 | |
| 734 | config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT |
| 735 | bool "Wait for interrupt" |
| 736 | endchoice |
| 737 | |
| 738 | config MSM7X00A_IDLE_SLEEP_MODE |
| 739 | int |
| 740 | default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 741 | default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 742 | default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP |
| 743 | default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 744 | default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT |
| 745 | |
| 746 | config MSM7X00A_IDLE_SLEEP_MIN_TIME |
| 747 | int "Minimum idle time before sleep" |
| 748 | default 20000000 |
| 749 | help |
| 750 | Minimum idle time in nanoseconds before entering low power mode. |
| 751 | |
| 752 | config MSM7X00A_IDLE_SPIN_TIME |
| 753 | int "Idle spin time before cpu ramp down" |
| 754 | default 80000 |
| 755 | help |
| 756 | Spin time in nanoseconds before ramping down cpu clock and entering |
| 757 | any low power state. |
| 758 | |
| 759 | menuconfig MSM_IDLE_STATS |
| 760 | bool "Collect idle statistics" |
| 761 | default y |
| 762 | help |
| 763 | Collect idle statistics and export them in proc/msm_pm_stats. |
| 764 | |
| 765 | if MSM_IDLE_STATS |
| 766 | |
| 767 | config MSM_IDLE_STATS_FIRST_BUCKET |
| 768 | int "First bucket time" |
| 769 | default 62500 |
| 770 | help |
| 771 | Upper time limit in nanoseconds of first bucket. |
| 772 | |
| 773 | config MSM_IDLE_STATS_BUCKET_SHIFT |
| 774 | int "Bucket shift" |
| 775 | default 2 |
| 776 | |
| 777 | config MSM_IDLE_STATS_BUCKET_COUNT |
| 778 | int "Bucket count" |
| 779 | default 10 |
| 780 | |
| 781 | config MSM_SUSPEND_STATS_FIRST_BUCKET |
| 782 | int "First bucket time for suspend" |
| 783 | default 1000000000 |
| 784 | help |
| 785 | Upper time limit in nanoseconds of first bucket of the |
| 786 | histogram. This is for collecting statistics on suspend. |
| 787 | |
| 788 | endif # MSM_IDLE_STATS |
| 789 | |
| 790 | config CPU_HAS_L2_PMU |
| 791 | bool "L2CC PMU Support" |
| 792 | help |
| 793 | Select this if the L2 cache controller has a Performance Monitoring Unit. |
| 794 | |
| 795 | config MSM_JTAG_V7 |
| 796 | depends on CPU_V7 |
| 797 | default y if DEBUG_KERNEL |
| 798 | bool "JTAG debug support" |
| 799 | help |
| 800 | Add additional support for JTAG kernel debugging. |
| 801 | |
| 802 | config HTC_HEADSET |
| 803 | tristate "HTC 2 Wire detection driver" |
| 804 | default n |
| 805 | help |
| 806 | Provides support for detecting HTC 2 wire devices, such as wired |
| 807 | headset, on the trout platform. Can be used with the msm serial |
| 808 | debugger, but not with serial console. |
| 809 | |
| 810 | config TROUT_BATTCHG |
| 811 | depends on MACH_TROUT && POWER_SUPPLY |
| 812 | default y |
| 813 | bool "Trout battery / charger driver" |
| 814 | |
| 815 | config HTC_PWRSINK |
| 816 | depends on MSM_SMD |
| 817 | default n |
| 818 | bool "HTC Power Sink Driver" |
| 819 | |
| 820 | config QSD_SVS |
| 821 | bool "QSD Static Voltage Scaling" |
| 822 | depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA) |
| 823 | default y |
| 824 | select TPS65023 |
| 825 | help |
| 826 | Enables static voltage scaling using the TPS65023 PMIC. |
| 827 | |
| 828 | config QSD_PMIC_DEFAULT_DCDC1 |
| 829 | int "PMIC default output voltage" |
| 830 | depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA) |
| 831 | default 1250 |
| 832 | help |
| 833 | This is the PMIC voltage at Linux kernel boot. |
| 834 | |
| 835 | config MSM_FIQ_SUPPORT |
| 836 | default y |
| 837 | bool "Enable installation of an FIQ handler." |
| 838 | |
| 839 | config MSM_SERIAL_DEBUGGER |
| 840 | select MSM_FIQ_SUPPORT |
| 841 | select KERNEL_DEBUGGER_CORE |
| 842 | default n |
| 843 | bool "FIQ Mode Serial Debugger" |
| 844 | help |
| 845 | The FIQ serial debugger can accept commands even when the |
| 846 | kernel is unresponsive due to being stuck with interrupts |
| 847 | disabled. Depends on the kernel debugger core in drivers/misc. |
| 848 | |
| 849 | config MSM_SERIAL_DEBUGGER_CONSOLE |
| 850 | depends on MSM_SERIAL_DEBUGGER |
| 851 | default n |
| 852 | bool "Console on FIQ Serial Debugger port" |
| 853 | help |
| 854 | Enables a console so that printk messages are displayed on |
| 855 | the debugger serial port as the occur. |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 856 | |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 857 | config MSM_PROC_COMM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 858 | default y |
| 859 | bool "Proc-Comm RPC Interface" |
| 860 | help |
| 861 | Enables a lightweight communications interface to the |
| 862 | baseband processor. |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 863 | |
Brian Swetland | 2eb44eb | 2008-09-29 16:00:48 -0700 | [diff] [blame] | 864 | config MSM_SMD |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 865 | bool "MSM Shared Memory Driver (SMD)" |
| 866 | help |
| 867 | Support for the shared memory interface between the apps |
| 868 | processor and the baseband processor. Provides access to |
| 869 | the "shared heap", as well as virtual serial channels |
| 870 | used to communicate with various services on the baseband |
| 871 | processor. |
| 872 | |
| 873 | choice |
| 874 | prompt "MSM Shared memory interface version" |
| 875 | depends on MSM_SMD |
| 876 | default MSM_SMD_PKG3 if ARCH_MSM_ARM11 |
| 877 | default MSM_SMD_PKG4 if ARCH_MSM_SCORPION |
| 878 | |
| 879 | config MSM_SMD_PKG3 |
| 880 | bool |
| 881 | prompt "Package 3" |
| 882 | |
| 883 | config MSM_SMD_PKG4 |
| 884 | bool |
| 885 | prompt "Package 4" |
| 886 | endchoice |
| 887 | |
| 888 | config MSM_IPC_ROUTER_SMD_XPRT |
| 889 | depends on MSM_SMD |
| 890 | default n |
| 891 | bool "MSM SMD XPRT Layer" |
| 892 | help |
| 893 | SMD Transport Layer for IPC Router |
| 894 | |
| 895 | config MSM_RPC_SDIO_XPRT |
| 896 | depends on MSM_SDIO_AL |
| 897 | default y |
| 898 | bool "MSM SDIO XPRT Layer" |
| 899 | help |
| 900 | SDIO Transport Layer for RPC Rouer |
| 901 | |
| 902 | config MSM_RPC_SDIO_DEBUG |
| 903 | depends on MSM_RPC_SDIO_XPRT |
| 904 | default y |
| 905 | bool "MSM SDIO XPRT debug support" |
| 906 | help |
| 907 | Support for debugging SDIO XPRT |
| 908 | |
| 909 | config MSM_SMD_DEBUG |
| 910 | depends on MSM_SMD |
| 911 | default y |
| 912 | bool "MSM SMD debug support" |
| 913 | help |
| 914 | Support for debugging the SMD for communication |
| 915 | between the ARM9 and ARM11 |
| 916 | |
| 917 | config MSM_SDIO_AL |
| 918 | depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK) |
| 919 | default y |
| 920 | tristate "SDIO-Abstraction-Layer" |
| 921 | help |
| 922 | Support MSM<->MDM Communication over SDIO bus. |
| 923 | MDM SDIO-Client should have pipes support. |
| 924 | |
| 925 | config MSM_SDIO_DMUX |
| 926 | bool "SDIO Data Mux Driver" |
| 927 | depends on MSM_SDIO_AL |
| 928 | default n |
| 929 | help |
| 930 | Support Muxed Data Channels over SDIO interface. |
| 931 | |
| 932 | config MSM_BAM_DMUX |
| 933 | bool "BAM Data Mux Driver" |
| 934 | depends on SPS |
| 935 | default n |
| 936 | help |
| 937 | Support Muxed Data Channels over BAM interface. |
| 938 | BAM has a limited number of pipes. This driver |
| 939 | provides a means to support more logical channels |
| 940 | via muxing than BAM could without muxing. |
| 941 | |
| 942 | config MSM_N_WAY_SMD |
| 943 | depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25)) |
| 944 | default y |
| 945 | bool "MSM N-WAY SMD support" |
| 946 | help |
| 947 | Supports APPS-QDSP SMD communication along with |
| 948 | normal APPS-MODEM SMD communication. |
| 949 | |
| 950 | config MSM_N_WAY_SMSM |
| 951 | depends on (MSM_SMD && (ARCH_MSM_SCORPION || ARCH_MSM8960 || ARCH_MSM7X27 || ARCH_MSM7X25)) |
| 952 | default y |
| 953 | bool "MSM N-WAY SMSM support" |
| 954 | help |
| 955 | Supports APPS-QDSP SMSM communication along with |
| 956 | normal APPS-MODEM SMSM communication. |
| 957 | |
| 958 | config MSM_RESET_MODEM |
| 959 | tristate "Reset Modem Driver" |
| 960 | depends on MSM_SMD |
| 961 | default m |
| 962 | help |
| 963 | Allows the user to reset the modem through a device node. |
| 964 | |
| 965 | config MSM_SMD_LOGGING |
| 966 | depends on MSM_SMD |
| 967 | default y |
| 968 | bool "MSM Shared Memory Logger" |
| 969 | help |
| 970 | This option exposes the shared memory logger at /dev/smem_log |
| 971 | and a debugfs node named smem_log. |
| 972 | |
| 973 | If in doubt, say yes. |
| 974 | |
| 975 | config MSM_SMD_NMEA |
| 976 | bool "NMEA GPS Driver" |
| 977 | depends on MSM_SMD |
| 978 | default y |
| 979 | help |
| 980 | Enable this to support the NMEA GPS device. |
| 981 | |
| 982 | If in doubt, say yes. |
| 983 | |
| 984 | config MSM_SDIO_TTY |
| 985 | bool "SDIO TTY Driver" |
| 986 | depends on MSM_SDIO_AL |
| 987 | default n |
| 988 | help |
| 989 | Provides a TTY driver SDIO TTY |
| 990 | This driver can be used by user space |
| 991 | applications for passing data through the |
| 992 | SDIO interface. |
| 993 | |
| 994 | config MSM_SMD_TTY |
| 995 | bool "SMD TTY Driver" |
| 996 | depends on MSM_SMD |
| 997 | default y |
| 998 | help |
| 999 | Provides TTY interfaces to interact with the modem. |
| 1000 | |
| 1001 | If in doubt, say yes. |
| 1002 | |
| 1003 | config MSM_SMD_QMI |
| 1004 | bool "SMD QMI Driver" |
| 1005 | depends on MSM_SMD |
| 1006 | default y |
| 1007 | help |
| 1008 | Manages network data connections. |
| 1009 | |
| 1010 | If in doubt, say yes. |
| 1011 | |
| 1012 | config MSM_SMD_PKT |
| 1013 | bool "SMD Packet Driver" |
| 1014 | depends on MSM_SMD |
| 1015 | default y |
| 1016 | help |
| 1017 | Provides a binary SMD non-muxed packet port interface. |
| 1018 | |
| 1019 | If in doubt, say yes. |
| 1020 | |
| 1021 | config MSM_SDIO_CMUX |
| 1022 | bool "SDIO CMUX Driver" |
| 1023 | depends on MSM_SDIO_AL |
| 1024 | default n |
| 1025 | help |
| 1026 | Provides a Muxed port interface over SDIO QMI |
| 1027 | |
| 1028 | config MSM_DSPS |
| 1029 | bool "Sensors DSPS driver" |
| 1030 | depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960)) |
| 1031 | default n |
| 1032 | help |
| 1033 | Provides user-space interface to the sensors manager |
| 1034 | to turn on/off the Sensors Processor system clocks. |
| 1035 | It is the DSPS responsibility to turn on/off the sensors |
| 1036 | themself. |
| 1037 | The number of clocks and their name may vary between targets. |
| 1038 | It also triggers the PIL to load the DSPS firmware. |
| 1039 | |
| 1040 | config MSM_SDIO_CTL |
| 1041 | bool "SDIO CTL Driver" |
| 1042 | depends on MSM_SDIO_CMUX |
| 1043 | default n |
| 1044 | help |
| 1045 | Provides a binary SDIO control port interface. |
| 1046 | |
| 1047 | config MSM_ONCRPCROUTER |
| 1048 | depends on MSM_SMD |
| 1049 | default n |
| 1050 | bool "MSM ONCRPC router support" |
| 1051 | help |
| 1052 | Support for the MSM ONCRPC router for communication between |
| 1053 | the ARM9 and ARM11 |
| 1054 | |
| 1055 | config MSM_IPC_ROUTER |
| 1056 | depends on MSM_IPC_ROUTER_SMD_XPRT |
| 1057 | default n |
| 1058 | bool "MSM IPC Router support" |
| 1059 | help |
| 1060 | Support for the MSM IPC Router for communication between |
| 1061 | the APPs and the MODEM |
| 1062 | |
| 1063 | config MSM_ONCRPCROUTER_DEBUG |
| 1064 | depends on MSM_ONCRPCROUTER |
| 1065 | default y |
| 1066 | bool "MSM debug ONCRPC router support" |
| 1067 | help |
| 1068 | Support for debugging the ONCRPC router for communication |
| 1069 | between the ARM9 and ARM11 |
| 1070 | |
| 1071 | config MSM_RPC_LOOPBACK_XPRT |
| 1072 | depends on MSM_ONCRPCROUTER |
| 1073 | default n |
| 1074 | bool "MSM RPC local routing support" |
| 1075 | help |
| 1076 | Support for routing RPC messages between APPS clients |
| 1077 | and APPS servers. Helps in testing APPS RPC framework. |
| 1078 | |
| 1079 | config MSM_RPCSERVER_TIME_REMOTE |
| 1080 | depends on MSM_ONCRPCROUTER && RTC_HCTOSYS |
| 1081 | default y |
| 1082 | bool "Time remote RPC server" |
| 1083 | help |
| 1084 | The time remote server receives notification of time bases and |
| 1085 | reports these events to registered callback functions. |
| 1086 | |
| 1087 | config MSM_RPCSERVER_WATCHDOG |
| 1088 | depends on MSM_ONCRPCROUTER |
| 1089 | default y |
| 1090 | bool "Watchdog RPC server" |
| 1091 | help |
| 1092 | The dog_keepalive server handles watchdog events. |
| 1093 | |
| 1094 | config MSM_RPC_WATCHDOG |
| 1095 | depends on MSM_ONCRPCROUTER |
| 1096 | default n |
| 1097 | bool "Watchdog RPC client" |
| 1098 | help |
| 1099 | The dog_keepalive client module. |
| 1100 | |
| 1101 | config MSM_RPC_PING |
| 1102 | depends on MSM_ONCRPCROUTER && DEBUG_FS |
| 1103 | default m |
| 1104 | bool "MSM rpc ping" |
| 1105 | help |
| 1106 | Implements MSM rpc ping test module. |
| 1107 | |
| 1108 | config MSM_RPC_PROC_COMM_TEST |
| 1109 | depends on DEBUG_FS && MSM_PROC_COMM |
| 1110 | default m |
| 1111 | bool "MSM rpc proc comm test" |
| 1112 | help |
| 1113 | Implements MSM rpc proc comm test module. |
| 1114 | |
| 1115 | config MSM_RPC_OEM_RAPI |
| 1116 | depends on MSM_ONCRPCROUTER |
| 1117 | default m |
| 1118 | bool "MSM oem rapi" |
| 1119 | help |
| 1120 | Implements MSM oem rapi client module. |
| 1121 | |
| 1122 | config MSM_RPCSERVER_HANDSET |
| 1123 | depends on MSM_ONCRPCROUTER |
| 1124 | default y |
| 1125 | bool "Handset events RPC server" |
| 1126 | help |
| 1127 | Support for receiving handset events like headset detect, |
| 1128 | headset switch and clamshell state. |
| 1129 | |
| 1130 | config MSM_RMT_STORAGE_CLIENT |
| 1131 | depends on (ARCH_MSM && MSM_ONCRPCROUTER) |
| 1132 | default n |
| 1133 | bool "Remote Storage RPC client" |
| 1134 | help |
| 1135 | Provide RPC mechanism for remote processors to access storage |
| 1136 | device on apps processor. |
| 1137 | |
| 1138 | config MSM_RMT_STORAGE_CLIENT_STATS |
| 1139 | depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS) |
| 1140 | default n |
| 1141 | bool "Remote storage RPC client performance statistics" |
| 1142 | help |
| 1143 | Collects performance statistics and shows this information |
| 1144 | through a debugfs file rmt_storage_stats. |
| 1145 | |
| 1146 | config MSM_SDIO_SMEM |
| 1147 | depends on MSM_SDIO_AL |
| 1148 | default n |
| 1149 | bool "SDIO SMEM for remote storage" |
| 1150 | help |
| 1151 | Copies data from remote MDM9K memory to local MSM8x60 |
| 1152 | memory. Used by remote storage client to shadow |
| 1153 | MDM9K filesystem. |
| 1154 | |
| 1155 | config MSM_DALRPC |
| 1156 | bool "DAL RPC support" |
| 1157 | depends on ARCH_MSM_SCORPION || ARCH_MSM_KRAIT |
| 1158 | default y |
| 1159 | help |
| 1160 | Supports RPC calls to DAL devices on remote processor cores. |
| 1161 | |
| 1162 | config MSM_DALRPC_TEST |
| 1163 | tristate "DAL RPC test module" |
| 1164 | depends on (MSM_DALRPC && DEBUG_FS) |
| 1165 | default m |
| 1166 | help |
| 1167 | Exercises DAL RPC calls to QDSP6. |
| 1168 | |
| 1169 | if CPU_FREQ_MSM |
| 1170 | |
| 1171 | config MSM_CPU_FREQ_SET_MIN_MAX |
| 1172 | bool "Set Min/Max CPU frequencies." |
| 1173 | default n |
| 1174 | help |
| 1175 | Allow setting min and max CPU frequencies. Sysfs can be used |
| 1176 | to override these values. |
| 1177 | |
| 1178 | config MSM_CPU_FREQ_MAX |
| 1179 | int "Max CPU Frequency" |
| 1180 | depends on MSM_CPU_FREQ_SET_MIN_MAX |
| 1181 | default 384000 |
| 1182 | |
| 1183 | config MSM_CPU_FREQ_MIN |
| 1184 | int "Min CPU Frequency" |
| 1185 | depends on MSM_CPU_FREQ_SET_MIN_MAX |
| 1186 | default 245760 |
| 1187 | |
| 1188 | endif # CPU_FREQ_MSM |
| 1189 | |
| 1190 | config MSM_CPU_AVS |
| 1191 | bool "Enable software controlled Adaptive Voltage Scaling (AVS)" |
| 1192 | depends on (ARCH_MSM_SCORPION && QSD_SVS) |
| 1193 | depends on ARCH_QSD8X50 |
| 1194 | default n |
| 1195 | select MSM_AVS_HW |
| 1196 | help |
| 1197 | This enables the s/w control of Adaptive Voltage Scaling feature |
| 1198 | in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency |
| 1199 | based on feedback from three ring oscillators in the CPU. |
| 1200 | |
| 1201 | config MSM_AVS_HW |
| 1202 | bool "Enable Adaptive Voltage Scaling (AVS)" |
| 1203 | default n |
| 1204 | help |
| 1205 | Enable AVS hardware to fine tune voltage at each frequency. The |
| 1206 | AVS hardware blocks associated with each Qualcomm ARMv7 cores can |
| 1207 | fine tune the voltages based on the feedback from the ring |
| 1208 | oscillators. |
| 1209 | |
| 1210 | config MSM_HW3D |
| 1211 | tristate "MSM Hardware 3D Register Driver" |
| 1212 | depends on ANDROID_PMEM |
| 1213 | default y |
| 1214 | help |
| 1215 | Provides access to registers needed by the userspace OpenGL|ES |
| 1216 | library. |
| 1217 | |
| 1218 | config MSM_ADSP |
| 1219 | depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27) |
| 1220 | tristate "MSM ADSP driver" |
| 1221 | depends on ANDROID_PMEM |
| 1222 | default y |
| 1223 | help |
| 1224 | Provides access to registers needed by the userspace aDSP library. |
| 1225 | |
| 1226 | config ADSP_RPC_VER |
| 1227 | hex |
| 1228 | default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009)) |
| 1229 | default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008)) |
| 1230 | depends on MSM_ADSP |
| 1231 | help |
| 1232 | Select proper ADSP RPC version |
| 1233 | choice |
| 1234 | prompt "ADSP RPC version" |
| 1235 | |
| 1236 | default AMSS_7X25_VERSION_2009 |
| 1237 | |
| 1238 | config AMSS_7X25_VERSION_2009 |
| 1239 | bool "2.0.09" |
| 1240 | |
| 1241 | config AMSS_7X25_VERSION_2008 |
| 1242 | bool "2.0.08" |
| 1243 | endchoice |
| 1244 | |
| 1245 | config MSM7KV2_AUDIO |
| 1246 | bool "MSM7K v2 audio" |
| 1247 | depends on (ARCH_MSM7X30 && ANDROID_PMEM) |
| 1248 | default y |
| 1249 | help |
| 1250 | Enables QDSP5V2-based audio drivers for audio playbacks and |
| 1251 | voice call. |
| 1252 | |
| 1253 | config MSM_ADSP_REPORT_EVENTS |
| 1254 | bool "Report modem events from the DSP" |
| 1255 | default y |
| 1256 | depends on (MSM_ADSP || MSM7KV2_AUDIO) |
| 1257 | help |
| 1258 | Normally, only messages from the aDSP are reported to userspace. |
| 1259 | With this option, we report events from the aDSP as well. |
| 1260 | |
| 1261 | config MSM_QDSP6 |
| 1262 | tristate "QDSP6 support" |
| 1263 | depends on ARCH_QSD8X50 && ANDROID_PMEM |
| 1264 | default y |
| 1265 | help |
| 1266 | Enable support for qdsp6. This provides audio and video functionality. |
| 1267 | |
| 1268 | config MSM8X60_AUDIO |
| 1269 | tristate "MSM8X60 audio support" |
| 1270 | depends on ARCH_MSM8X60 && ANDROID_PMEM |
| 1271 | default y |
| 1272 | help |
| 1273 | Enable support for qdsp6v2. This provides audio functionality. |
| 1274 | |
| 1275 | config MSM8X60_FTM_AUDIO_DEVICES |
| 1276 | bool "MSM8X60 audio factory test mode support" |
| 1277 | depends on MSM8X60_AUDIO |
| 1278 | help |
| 1279 | Enable support audio factory test mode devices. This is used |
| 1280 | in a production line environment. |
| 1281 | |
Ben Romberger | 45b351c | 2011-07-20 22:37:27 -0700 | [diff] [blame] | 1282 | config RTAC |
| 1283 | bool "MSM8K real-time audio calibration support" |
| 1284 | default y |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1285 | help |
Ben Romberger | 45b351c | 2011-07-20 22:37:27 -0700 | [diff] [blame] | 1286 | Enable support for rtac. This enables calibration during |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1287 | audio operation |
| 1288 | |
| 1289 | config MSM7X27A_AUDIO |
| 1290 | bool "MSM7X27A audio support" |
| 1291 | depends on ARCH_MSM7X27A && MSM_ADSP |
| 1292 | default n |
| 1293 | help |
| 1294 | Enable support for 7x27a. This provides audio functionality. |
| 1295 | |
Justin Paupore | a6cd209 | 2011-06-22 16:19:45 -0700 | [diff] [blame] | 1296 | config MSM_PROC_COMM_REGULATOR |
| 1297 | bool |
| 1298 | depends on MSM_PROC_COMM && REGULATOR |
| 1299 | help |
| 1300 | Enable regulator framework support for regulators managed by PMLIB |
| 1301 | on the modem, and controlled through proccomm calls. |
| 1302 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1303 | config MSM_VREG_SWITCH_INVERTED |
| 1304 | bool "Reverse vreg switch polarity" |
| 1305 | default n |
| 1306 | help |
| 1307 | Reverses the enable and disable for vreg switch. |
| 1308 | |
| 1309 | config MSM_DMA_TEST |
| 1310 | tristate "MSM DMA test module" |
| 1311 | default m |
| 1312 | help |
| 1313 | Intended to be compiled as a module. Provides a device node |
| 1314 | and ioctls for testing the MSM dma system. |
| 1315 | |
| 1316 | config WIFI_CONTROL_FUNC |
| 1317 | bool "Enable WiFi control function abstraction" |
| 1318 | help |
| 1319 | Enables Power/Reset/Carddetect function abstraction |
| 1320 | |
| 1321 | config WIFI_MEM_PREALLOC |
| 1322 | depends on WIFI_CONTROL_FUNC |
| 1323 | bool "Preallocate memory for WiFi buffers" |
| 1324 | help |
| 1325 | Preallocates memory buffers for WiFi driver |
| 1326 | |
| 1327 | config QSD_AUDIO |
| 1328 | bool "QSD audio" |
| 1329 | depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP |
| 1330 | default y |
| 1331 | help |
| 1332 | Provides PCM, MP3, and AAC audio playback. |
| 1333 | |
| 1334 | config AUDIO_AAC_PLUS |
| 1335 | depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO) |
| 1336 | bool "AAC+ Audio" |
| 1337 | default y |
| 1338 | help |
| 1339 | Provides AAC+ decoding |
| 1340 | |
| 1341 | config AUDIO_ENHANCED_AAC_PLUS |
| 1342 | depends on AUDIO_AAC_PLUS |
| 1343 | bool "Enhanced AAC+ Audio" |
| 1344 | default y |
| 1345 | help |
| 1346 | Provides Enhanced AAC+ decoding |
| 1347 | |
| 1348 | config SURF_FFA_GPIO_KEYPAD |
| 1349 | bool "MSM SURF/FFA GPIO keypad" |
| 1350 | depends on INPUT_GPIO = "y" |
| 1351 | default y |
| 1352 | help |
| 1353 | Select if the GPIO keypad is attached. |
| 1354 | |
| 1355 | config MSM_SLEEP_TIME_OVERRIDE |
| 1356 | bool "Allow overriding suspend/sleep time with PM module parameter" |
| 1357 | default y |
| 1358 | help |
| 1359 | Enable the module parameter sleep_time_override. Specified |
| 1360 | in units of seconds, it overwrites the normal sleep time of |
| 1361 | suspend. The feature is required for automated power management |
| 1362 | testing. |
| 1363 | |
| 1364 | config MSM_MEMORY_LOW_POWER_MODE |
| 1365 | bool "Control the low power modes of memory" |
| 1366 | default n |
| 1367 | help |
| 1368 | The application processor controls whether memory should enter |
| 1369 | which low power mode. |
| 1370 | |
| 1371 | choice |
| 1372 | prompt "Default Memory Low Power Mode during Idle" |
| 1373 | depends on MSM_MEMORY_LOW_POWER_MODE |
| 1374 | default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE |
| 1375 | help |
| 1376 | Selects the default low power mode of the memory during idle |
| 1377 | sleep. |
| 1378 | |
| 1379 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE |
| 1380 | bool "Memory active" |
| 1381 | |
| 1382 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION |
| 1383 | bool "Memory in retention" |
| 1384 | |
| 1385 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN |
| 1386 | bool "Memory in deep power down" |
| 1387 | endchoice |
| 1388 | |
| 1389 | choice |
| 1390 | prompt "Default Memory Low Power Mode during Suspend" |
| 1391 | depends on MSM_MEMORY_LOW_POWER_MODE |
| 1392 | default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE |
| 1393 | help |
| 1394 | Selects the default low power mode of the memory during suspend |
| 1395 | sleep. |
| 1396 | |
| 1397 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE |
| 1398 | bool "Memory active" |
| 1399 | |
| 1400 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION |
| 1401 | bool "Memory in retention" |
| 1402 | |
| 1403 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN |
| 1404 | bool "Memory in deep power down" |
| 1405 | endchoice |
| 1406 | |
| 1407 | choice |
| 1408 | prompt "Power management timeout action" |
| 1409 | default MSM_PM_TIMEOUT_HALT |
| 1410 | help |
| 1411 | Selects the Application Processor's action when Power Management |
| 1412 | times out waiting for Modem's handshake. |
| 1413 | |
| 1414 | config MSM_PM_TIMEOUT_HALT |
| 1415 | bool "Halt the Application Processor" |
| 1416 | |
| 1417 | config MSM_PM_TIMEOUT_RESET_MODEM |
| 1418 | bool "Reset the Modem Processor" |
| 1419 | |
| 1420 | config MSM_PM_TIMEOUT_RESET_CHIP |
| 1421 | bool "Reset the entire chip" |
| 1422 | endchoice |
| 1423 | |
| 1424 | config MSM_IDLE_WAIT_ON_MODEM |
| 1425 | int "Wait for Modem to become ready for idle power collapse" |
| 1426 | default 0 |
| 1427 | help |
| 1428 | If Modem is not ready to handle Application Processor's request |
| 1429 | for idle power collapse, wait the number of microseconds in case |
| 1430 | Modem becomes ready soon. |
| 1431 | |
| 1432 | config MSM_PIL |
| 1433 | bool "Peripheral image loading" |
| 1434 | select FW_LOADER |
| 1435 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 1436 | default n |
| 1437 | help |
| 1438 | Some peripherals need to be loaded into memory before they can be |
| 1439 | brought out of reset. |
| 1440 | |
| 1441 | Say yes to support these devices. |
| 1442 | |
| 1443 | config MSM_SECURE_PIL |
| 1444 | bool "Secure Peripheral image loading" |
| 1445 | depends on MSM_PIL |
| 1446 | default n |
| 1447 | |
| 1448 | config MSM_SCM |
| 1449 | bool "Secure Channel Manager (SCM) support" |
| 1450 | default n |
| 1451 | |
| 1452 | config MSM_SUBSYSTEM_RESTART |
| 1453 | bool "MSM Subsystem Restart Driver" |
| 1454 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 1455 | default n |
| 1456 | help |
| 1457 | This option enables the MSM subsystem restart driver, which provides |
| 1458 | a framework to handle subsystem crashes. |
| 1459 | |
| 1460 | config MSM_MODEM_8960 |
| 1461 | bool "MSM 8960 Modem driver" |
| 1462 | depends on (ARCH_MSM8960) |
| 1463 | help |
| 1464 | This option enables the modem driver for the MSM8960, which monitors |
| 1465 | modem hardware watchdog interrupt lines and plugs into the subsystem |
| 1466 | restart and PIL drivers. |
| 1467 | |
Bharath Ramachandramurthy | ff061c7 | 2011-06-27 14:22:33 -0700 | [diff] [blame] | 1468 | config MSM_LPASS_8960 |
| 1469 | tristate "MSM 8960 Lpass driver" |
| 1470 | depends on (ARCH_MSM8960) |
| 1471 | help |
| 1472 | This option enables the lpass driver for the MSM8960, which monitors |
| 1473 | lpass hardware watchdog interrupt lines and plugs into the subsystem |
| 1474 | restart and PIL drivers. |
| 1475 | |
Ankur Nandwani | e258cf0 | 2011-08-19 10:16:38 -0700 | [diff] [blame] | 1476 | config MSM_WCNSS_SSR_8960 |
| 1477 | tristate "MSM 8960 WCNSS restart module" |
| 1478 | depends on (ARCH_MSM8960) |
| 1479 | help |
| 1480 | This option enables the WCNSS restart module for MSM8960, which |
| 1481 | monitors WCNSS hardware watchdog interrupt lines and plugs WCNSS |
| 1482 | into the subsystem restart framework. |
| 1483 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1484 | config SCORPION_Uni_45nm_BUG |
| 1485 | bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA" |
| 1486 | depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A) |
| 1487 | default y |
| 1488 | help |
| 1489 | Invalidating the Instruction Cache by Modified Virtual Address to PoU and |
| 1490 | invalidating the Branch Predictor Array by Modified Virtual Address can |
| 1491 | create invalid entries in the TLB with the wrong ASID values on Scorpion |
| 1492 | Uniprocessor 45nm (SC45U) cores. This option enables the recommended software |
| 1493 | workaround for Scorpion Uniprocessor 45nm cores. |
| 1494 | |
| 1495 | This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores. |
| 1496 | |
| 1497 | config MSM_RPM_LOG |
| 1498 | tristate "MSM Resource Power Manager Log Driver" |
| 1499 | depends on DEBUG_FS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1500 | default n |
| 1501 | help |
| 1502 | This option enables a driver which can read from a circular buffer |
| 1503 | of messages produced by the RPM. These messages provide diagnostic |
| 1504 | information about RPM operation. The driver outputs the messages |
| 1505 | via a debugfs node. |
| 1506 | |
| 1507 | config MSM_RPM_STATS_LOG |
| 1508 | tristate "MSM Resource Power Manager Stat Driver" |
| 1509 | depends on DEBUG_FS |
| 1510 | depends on ARCH_MSM8X60 |
| 1511 | default n |
| 1512 | help |
| 1513 | This option enables a driver which reads RPM messages from a shared |
| 1514 | memory location. These messages provide statistical information about |
| 1515 | the low power modes that RPM enters. The drivers outputs the message |
| 1516 | via a debugfs node. |
| 1517 | |
| 1518 | config MSM_IOMMU |
| 1519 | bool "MSM IOMMU Support" |
| 1520 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1521 | select IOMMU_API |
| 1522 | default n |
| 1523 | help |
| 1524 | Support for the IOMMUs found on certain Qualcomm SOCs. |
| 1525 | These IOMMUs allow virtualization of the address space used by most |
| 1526 | cores within the multimedia subsystem. |
| 1527 | |
| 1528 | If unsure, say N here. |
| 1529 | |
| 1530 | config IOMMU_PGTABLES_L2 |
| 1531 | bool "Allow SMMU page tables in the L2 cache (Experimental)" |
| 1532 | depends on MSM_IOMMU=y |
| 1533 | depends on MMU |
| 1534 | depends on CPU_DCACHE_DISABLE=n |
| 1535 | depends on SMP |
| 1536 | default y |
| 1537 | help |
| 1538 | Improves TLB miss latency at the expense of potential L2 pollution. |
| 1539 | However, with large multimedia buffers, the TLB should mostly contain |
| 1540 | section mappings and TLB misses should be quite infrequent. |
| 1541 | Most people can probably say Y here. |
| 1542 | |
| 1543 | config MSM_DIRECT_SCLK_ACCESS |
| 1544 | bool "Direct access to the SCLK timer" |
| 1545 | default n |
| 1546 | |
| 1547 | config IOMMU_API |
| 1548 | bool |
Brian Swetland | 2eb44eb | 2008-09-29 16:00:48 -0700 | [diff] [blame] | 1549 | |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 1550 | config MSM_GPIOMUX |
| 1551 | bool |
| 1552 | |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 1553 | config MSM_V2_TLMM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1554 | bool |
| 1555 | |
| 1556 | config FSM9XXX_TLMM |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 1557 | bool |
Stepan Moskovchenko | 0ab84745 | 2010-11-12 19:29:57 -0800 | [diff] [blame] | 1558 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1559 | config MSM_SECURE_IO |
Stepan Moskovchenko | 0ab84745 | 2010-11-12 19:29:57 -0800 | [diff] [blame] | 1560 | bool |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 1561 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1562 | config MSM_NATIVE_RESTART |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 1563 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1564 | |
| 1565 | config MSM_BUS_SCALING |
| 1566 | bool "Bus scaling driver" |
| 1567 | default n |
| 1568 | |
Gagan Mac | 85c7049 | 2011-06-10 16:07:47 -0600 | [diff] [blame] | 1569 | config MSM_BUS_RPM_MULTI_TIER_ENABLED |
| 1570 | bool "RPM Multi-tiering Configuration" |
| 1571 | depends on MSM_BUS_SCALING |
| 1572 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1573 | config MSM_WATCHDOG |
| 1574 | bool "MSM Watchdog Support" |
Rohit Vaswani | 085a933 | 2011-09-28 18:57:24 -0700 | [diff] [blame^] | 1575 | depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1576 | help |
| 1577 | This enables the watchdog as is present on 8x60. Currently we use |
| 1578 | core 0's watchdog, and reset the entire SoC if it times out. It does |
| 1579 | not run during the bootup process, so it will not catch any early |
| 1580 | lockups. |
| 1581 | |
| 1582 | config MSM_DLOAD_MODE |
| 1583 | bool "Enable download mode on crashes" |
| 1584 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1585 | default n |
| 1586 | help |
| 1587 | This makes the SoC enter download mode when it resets |
| 1588 | due to a kernel panic. Note that this doesn't by itself |
| 1589 | make the kernel reboot on a kernel panic - that must be |
| 1590 | enabled via another mechanism. |
| 1591 | |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 1592 | config MSM_TRACE_ACROSS_PC |
| 1593 | bool "Trace support across power collapse" |
| 1594 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
| 1595 | help |
| 1596 | Enables trace state to be saved and restored across power collapse. |
| 1597 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1598 | config MSM_ETM |
| 1599 | tristate "Enable MSM ETM and ETB" |
| 1600 | depends on ARCH_MSM8X60 |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 1601 | select MSM_TRACE_ACROSS_PC |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1602 | help |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 1603 | Enables embedded trace collection on Qualcomm v7 CPUs. |
| 1604 | |
| 1605 | config MSM_QDSS |
| 1606 | bool "Coresight tracing support" |
| 1607 | depends on ARCH_MSM8960 |
| 1608 | select MSM_TRACE_ACROSS_PC |
| 1609 | help |
| 1610 | Enables support for Qualcomm debug subsystem. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1611 | |
| 1612 | config MSM_SLEEP_STATS |
| 1613 | bool "Enable exporting of MSM sleep stats to userspace" |
| 1614 | depends on CPU_IDLE |
| 1615 | default n |
| 1616 | |
| 1617 | config MSM_STANDALONE_POWER_COLLAPSE |
| 1618 | bool "Enable standalone power collapse" |
| 1619 | default n |
| 1620 | |
| 1621 | config MSM_GSBI9_UART |
| 1622 | bool "Enable GSBI9 UART device" |
| 1623 | default n |
| 1624 | help |
| 1625 | This enables GSBI9 configured into UART. |
| 1626 | |
| 1627 | config MSM_SHARED_GPIO_FOR_UART2DM |
| 1628 | bool "Use shared GPIOs into UART mode" |
| 1629 | depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT) |
| 1630 | help |
| 1631 | This option configures GPIO muxed with SDC4/MMC3 |
| 1632 | 8-bit mode into UART mode. It is used for serial |
| 1633 | console on UART2DM. Say Y if you want to have |
| 1634 | serial console on UART2DM. |
| 1635 | |
| 1636 | config MSM_SHOW_RESUME_IRQ |
| 1637 | bool "Enable logging of interrupts that could have caused resume" |
| 1638 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 1639 | default n |
| 1640 | help |
| 1641 | This option logs wake up interrupts that have triggered just before |
| 1642 | the resume loop unrolls. Say Y if you want to debug why the system |
| 1643 | resumed. |
| 1644 | |
| 1645 | config BT_MSM_PINTEST |
| 1646 | tristate "MSM Bluetooth Pin Connectivity Test" |
| 1647 | depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS) |
| 1648 | default n |
| 1649 | help |
| 1650 | Bluetooth MSM Pin Connectivity test module. |
| 1651 | This driver provides support for verifying the MSM to BT pin |
| 1652 | connectivity. |
| 1653 | |
| 1654 | config MSM_FAKE_BATTERY |
| 1655 | depends on POWER_SUPPLY |
| 1656 | default n |
| 1657 | bool "MSM Fake Battery" |
| 1658 | help |
| 1659 | Enables MSM fake battery driver. |
| 1660 | |
| 1661 | config MSM_QDSP6_APR |
| 1662 | bool "Audio QDSP6 APR support" |
| 1663 | depends on MSM_SMD |
| 1664 | default n |
| 1665 | help |
| 1666 | Enable APR IPC protocol support between |
| 1667 | application processor and QDSP6. APR is |
| 1668 | used by audio driver to configure QDSP6's |
| 1669 | ASM, ADM and AFE. |
| 1670 | |
| 1671 | |
| 1672 | config MSM_AUDIO_QDSP6 |
| 1673 | bool "QDSP6 HW Audio support" |
| 1674 | select SND_SOC_MSM_QDSP6_INTF |
| 1675 | default n |
| 1676 | help |
| 1677 | Enable HW audio support in QDSP6. |
| 1678 | QDSP6 can support HW encoder & decoder and audio processing |
| 1679 | |
| 1680 | config MSM_RPC_VIBRATOR |
| 1681 | bool "RPC based MSM Vibrator Support" |
| 1682 | depends on MSM_ONCRPCROUTER |
| 1683 | help |
| 1684 | Enable the vibrator support on MSM over RPC. The vibrator |
| 1685 | is connected on the PMIC. Say Y if you want to enable this |
| 1686 | feature. |
| 1687 | |
| 1688 | config PM8XXX_RPC_VIBRATOR |
| 1689 | bool "RPC based Vibrator on PM8xxx PMICs" |
| 1690 | depends on MSM_RPC_VIBRATOR |
| 1691 | help |
| 1692 | Enable the vibrator support on MSM over RPC. The vibrator |
| 1693 | is connected on the PM8XXX PMIC. Say Y if you want to enable |
| 1694 | this feature. |
| 1695 | |
| 1696 | config MSM_SPM_V1 |
| 1697 | bool "Driver support for SPM Version 1" |
| 1698 | help |
| 1699 | Enables the support for Version 1 of the SPM driver. SPM hardware is |
| 1700 | used to manage the processor power during sleep. The driver allows |
| 1701 | configuring SPM to allow different power modes. |
| 1702 | |
| 1703 | config MSM_SPM_V2 |
| 1704 | bool "Driver support for SPM Version 2" |
| 1705 | help |
| 1706 | Enables the support for Version 2 of the SPM driver. SPM hardware is |
| 1707 | used to manage the processor power during sleep. The driver allows |
| 1708 | configuring SPM to allow different power modes. |
| 1709 | |
| 1710 | config MSM_L2_SPM |
| 1711 | bool "SPM support for L2 cache" |
| 1712 | depends on MSM_SPM_V2 |
| 1713 | help |
| 1714 | Enable SPM driver support for L2 cache. Some MSM chipsets allow |
| 1715 | control of L2 cache low power mode with a Subsystem Power manager. |
| 1716 | Enabling this driver allows configuring L2 SPM for low power modes |
| 1717 | on supported chipsets. |
| 1718 | |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1719 | endif |