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