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 |
David Brown | 74d10d7 | 2011-05-16 13:57:39 -0700 | [diff] [blame] | 10 | select GPIO_MSM_V1 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 11 | select MSM_REMOTE_SPINLOCK_SWP |
| 12 | |
| 13 | config ARCH_MSM7X25 |
| 14 | bool "MSM7x25" |
| 15 | select ARCH_MSM_ARM11 |
| 16 | select MSM_VIC |
| 17 | select CPU_V6 |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 18 | select GPIO_MSM_V1 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 19 | select MSM_REMOTE_SPINLOCK_SWP |
Taniya Das | be561a0 | 2011-10-12 09:53:11 +0530 | [diff] [blame] | 20 | select MULTI_IRQ_HANDLER |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 21 | |
| 22 | config ARCH_MSM7X27 |
| 23 | bool "MSM7x27" |
| 24 | select ARCH_MSM_ARM11 if MSM_SOC_REV_NONE |
Trilok Soni | 7ff06e0 | 2012-10-15 01:05:24 +0530 | [diff] [blame] | 25 | select ARCH_HAS_BARRIERS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 26 | select ARCH_MSM_CORTEX_A5 if MSM_SOC_REV_A |
| 27 | select MSM_VIC |
| 28 | select CPU_V6 if MSM_SOC_REV_NONE |
| 29 | select CPU_V7 if MSM_SOC_REV_A |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 30 | select GPIO_MSM_V1 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 31 | select MSM_REMOTE_SPINLOCK_SWP if MSM_SOC_REV_NONE |
| 32 | select MSM_GPIOMUX |
| 33 | select REGULATOR |
Taniya Das | be561a0 | 2011-10-12 09:53:11 +0530 | [diff] [blame] | 34 | select MULTI_IRQ_HANDLER |
Pankaj Kumar | 75c86fd | 2011-10-01 18:51:09 +0530 | [diff] [blame] | 35 | select MSM_PROC_COMM_REGULATOR |
Laura Abbott | 1fbd2e6 | 2011-12-18 10:26:46 -0800 | [diff] [blame] | 36 | select CLEANCACHE |
| 37 | select QCACHE |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 38 | select MSM_PM2 if PM |
Krishna Vanka | e292205 | 2012-03-02 09:59:12 +0530 | [diff] [blame] | 39 | select MSM_RUN_QUEUE_STATS if MSM_SOC_REV_A |
Taniya Das | d4c39f9 | 2012-05-14 17:41:49 +0530 | [diff] [blame] | 40 | select DONT_MAP_HOLE_AFTER_MEMBANK0 |
Trilok Soni | b856ab9 | 2012-06-26 14:33:28 +0530 | [diff] [blame] | 41 | select MIGHT_HAVE_CACHE_L2X0 |
Taniya Das | cd1d023 | 2012-07-03 17:50:47 +0530 | [diff] [blame] | 42 | select MSM_MODEM_RESTART |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 43 | |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 44 | config ARCH_MSM7X30 |
| 45 | bool "MSM7x30" |
| 46 | select ARCH_MSM_SCORPION |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 47 | select MSM_VIC |
| 48 | select CPU_V7 |
David Brown | 74d10d7 | 2011-05-16 13:57:39 -0700 | [diff] [blame] | 49 | select GPIO_MSM_V1 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 50 | select MSM_REMOTE_SPINLOCK_DEKKERS |
| 51 | select ARCH_SPARSEMEM_ENABLE |
Laura Abbott | 78593b5 | 2011-09-26 18:48:14 -0700 | [diff] [blame] | 52 | select ARCH_HAS_HOLES_MEMORYMODEL |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 53 | select MEMORY_HOTPLUG |
| 54 | select MEMORY_HOTREMOVE |
Bryan Huntsman | ea43964 | 2011-11-23 12:34:05 -0800 | [diff] [blame] | 55 | select ARCH_ENABLE_MEMORY_HOTPLUG |
| 56 | select ARCH_ENABLE_MEMORY_HOTREMOVE |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 57 | select MIGRATION |
| 58 | select ARCH_MEMORY_PROBE |
| 59 | select ARCH_MEMORY_REMOVE |
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 RESERVE_FIRST_PAGE |
| 62 | select MSM_DALRPC |
| 63 | select MSM_SPM_V1 |
| 64 | select REGULATOR |
Justin Paupore | 637a25d | 2011-07-14 17:11:04 -0700 | [diff] [blame] | 65 | select MSM_PROC_COMM_REGULATOR |
Taniya Das | bae99fb | 2011-10-12 09:55:13 +0530 | [diff] [blame] | 66 | select MULTI_IRQ_HANDLER |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 67 | select MSM_PM2 if PM |
Chintan Pandya | bb02176 | 2012-06-21 15:03:29 +0530 | [diff] [blame] | 68 | select HOLES_IN_ZONE if SPARSEMEM |
Taniya Das | cd1d023 | 2012-07-03 17:50:47 +0530 | [diff] [blame] | 69 | select MSM_MODEM_RESTART |
Chintan Pandya | 62a2f7c | 2012-10-30 12:00:40 +0530 | [diff] [blame] | 70 | select ARM_HAS_SG_CHAIN |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 71 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 72 | config ARCH_QSD8X50 |
| 73 | bool "QSD8X50" |
| 74 | select ARCH_MSM_SCORPION |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 75 | select MSM_VIC |
| 76 | select CPU_V7 |
David Brown | 74d10d7 | 2011-05-16 13:57:39 -0700 | [diff] [blame] | 77 | select GPIO_MSM_V1 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 78 | select MSM_REMOTE_SPINLOCK_LDREX |
| 79 | select CPU_USE_DOMAINS |
| 80 | select EMULATE_DOMAIN_MANAGER_V7 |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 81 | select MSM_GPIOMUX |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 82 | select MSM_DALRPC |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 83 | select MSM_PM2 if PM |
Taniya Das | cd1d023 | 2012-07-03 17:50:47 +0530 | [diff] [blame] | 84 | select MSM_MODEM_RESTART |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 85 | |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 86 | config ARCH_MSM8X60 |
| 87 | bool "MSM8X60" |
Jeff Ohlstein | e14411d | 2010-11-30 13:06:36 -0800 | [diff] [blame] | 88 | select ARCH_MSM_SCORPIONMP |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 89 | select SMP_PARALLEL_START if SMP |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 90 | select ARM_GIC |
| 91 | select CPU_V7 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 92 | select MSM_REMOTE_SPINLOCK_LDREX |
| 93 | select ARCH_REQUIRE_GPIOLIB |
| 94 | select MSM_ADM3 |
| 95 | select REGULATOR |
Matt Wagantall | 9274df9 | 2011-12-15 11:11:05 -0800 | [diff] [blame] | 96 | select MSM_RPM_REGULATOR |
David Brown | 1a5ab4b | 2011-05-16 15:53:38 -0700 | [diff] [blame] | 97 | select GPIO_MSM_V2 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 98 | select MSM_PIL |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 99 | select ARCH_HAS_CPU_IDLE_WAIT |
| 100 | select MSM_DIRECT_SCLK_ACCESS |
| 101 | select MSM_RPM |
| 102 | select MSM_XO |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 103 | select MSM_GPIOMUX |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 104 | select MSM_BUS_SCALING |
| 105 | select MSM_SECURE_IO |
| 106 | select MSM_DALRPC |
| 107 | select MSM_QDSP6_APR |
Harmandeep Singh | c35fa07d | 2012-05-31 07:08:59 -0700 | [diff] [blame] | 108 | select MSM_QDSP6_CODECS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 109 | select MSM_NATIVE_RESTART |
| 110 | select ARCH_INLINE_SPIN_TRYLOCK |
| 111 | select ARCH_INLINE_SPIN_TRYLOCK_BH |
| 112 | select ARCH_INLINE_SPIN_LOCK |
| 113 | select ARCH_INLINE_SPIN_LOCK_BH |
| 114 | select ARCH_INLINE_SPIN_LOCK_IRQ |
| 115 | select ARCH_INLINE_SPIN_LOCK_IRQSAVE |
| 116 | select ARCH_INLINE_SPIN_UNLOCK |
| 117 | select ARCH_INLINE_SPIN_UNLOCK_BH |
| 118 | select ARCH_INLINE_SPIN_UNLOCK_IRQ |
| 119 | select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE |
| 120 | select ARCH_INLINE_READ_TRYLOCK |
| 121 | select ARCH_INLINE_READ_LOCK |
| 122 | select ARCH_INLINE_READ_LOCK_BH |
| 123 | select ARCH_INLINE_READ_LOCK_IRQ |
| 124 | select ARCH_INLINE_READ_LOCK_IRQSAVE |
| 125 | select ARCH_INLINE_READ_UNLOCK |
| 126 | select ARCH_INLINE_READ_UNLOCK_BH |
| 127 | select ARCH_INLINE_READ_UNLOCK_IRQ |
| 128 | select ARCH_INLINE_READ_UNLOCK_IRQRESTORE |
| 129 | select ARCH_INLINE_WRITE_TRYLOCK |
| 130 | select ARCH_INLINE_WRITE_LOCK |
| 131 | select ARCH_INLINE_WRITE_LOCK_BH |
| 132 | select ARCH_INLINE_WRITE_LOCK_IRQ |
| 133 | select ARCH_INLINE_WRITE_LOCK_IRQSAVE |
| 134 | select ARCH_INLINE_WRITE_UNLOCK |
| 135 | select ARCH_INLINE_WRITE_UNLOCK_BH |
| 136 | select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE |
| 137 | select CPU_HAS_L2_PMU |
| 138 | select MSM_SPM_V1 |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 139 | select MSM_SCM if SMP |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 140 | select MULTI_IRQ_HANDLER |
Laura Abbott | 46505f6 | 2011-11-02 18:06:55 -0700 | [diff] [blame] | 141 | select MSM_MULTIMEDIA_USE_ION |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 142 | select MSM_PM8X60 if PM |
Krishna Vanka | e292205 | 2012-03-02 09:59:12 +0530 | [diff] [blame] | 143 | select MSM_RUN_QUEUE_STATS |
Laura Abbott | b14ed96 | 2012-01-30 14:18:08 -0800 | [diff] [blame] | 144 | select ARM_HAS_SG_CHAIN |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 145 | |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 146 | config ARCH_MSM8960 |
| 147 | bool "MSM8960" |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 148 | select ARCH_MSM_KRAITMP |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 149 | select ARM_GIC |
| 150 | select CPU_V7 |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 151 | select GPIO_MSM_V2 |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 152 | select MSM_GPIOMUX |
| 153 | select MSM_SCM if SMP |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 154 | select MSM_DIRECT_SCLK_ACCESS |
| 155 | select REGULATOR |
Matt Wagantall | 9274df9 | 2011-12-15 11:11:05 -0800 | [diff] [blame] | 156 | select MSM_RPM_REGULATOR |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 157 | select MSM_RPM |
| 158 | select MSM_XO |
| 159 | select MSM_QDSP6_APR |
Harmandeep Singh | c35fa07d | 2012-05-31 07:08:59 -0700 | [diff] [blame] | 160 | select MSM_QDSP6_CODECS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 161 | select MSM_PIL |
| 162 | select MSM_AUDIO_QDSP6 if SND_SOC |
| 163 | select CPU_HAS_L2_PMU |
| 164 | select MSM_SPM_V2 |
| 165 | select MSM_L2_SPM |
| 166 | select MSM_NATIVE_RESTART |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 167 | select DONT_MAP_HOLE_AFTER_MEMBANK0 |
| 168 | select MSM_REMOTE_SPINLOCK_SFPB |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 169 | select ARCH_SPARSEMEM_ENABLE |
| 170 | select ARCH_HAS_HOLES_MEMORYMODEL |
Larry Bassel | d4d82c9 | 2011-12-07 09:52:49 -0800 | [diff] [blame] | 171 | select CLEANCACHE |
| 172 | select QCACHE |
Laura Abbott | 6d61a91 | 2011-10-27 16:44:14 -0700 | [diff] [blame] | 173 | select MSM_MULTIMEDIA_USE_ION |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 174 | select MULTI_IRQ_HANDLER |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 175 | select MSM_PM8X60 if PM |
Laura Abbott | 085dd20 | 2012-03-30 14:02:34 -0700 | [diff] [blame] | 176 | select HOLES_IN_ZONE if SPARSEMEM |
Krishna Vanka | e292205 | 2012-03-02 09:59:12 +0530 | [diff] [blame] | 177 | select MSM_RUN_QUEUE_STATS |
Laura Abbott | b14ed96 | 2012-01-30 14:18:08 -0800 | [diff] [blame] | 178 | select ARM_HAS_SG_CHAIN |
Stepan Moskovchenko | 196f86e | 2012-07-13 20:40:46 -0700 | [diff] [blame] | 179 | select MSM_KRAIT_WFE_FIXUP |
Baruch Eruchimovitch | 258b347 | 2012-10-14 21:46:35 +0200 | [diff] [blame] | 180 | select MSM_ULTRASOUND_A |
Olav Haugan | 5e72872 | 2012-11-05 17:45:26 -0800 | [diff] [blame] | 181 | select MSM_IOMMU_GPU_SYNC |
Greg Reid | b1d240a | 2012-10-12 12:20:31 -0400 | [diff] [blame] | 182 | select GENERIC_TIME_VSYSCALL |
| 183 | select USE_USER_ACCESSIBLE_TIMERS |
| 184 | select ARM_USE_USER_ACCESSIBLE_TIMERS |
| 185 | select MSM_USE_USER_ACCESSIBLE_TIMERS |
Stepan Moskovchenko | f441ca2 | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 186 | |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 187 | config ARCH_MSM8930 |
| 188 | bool "MSM8930" |
| 189 | select ARCH_MSM_KRAITMP |
| 190 | select ARM_GIC |
| 191 | select CPU_V7 |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 192 | select GPIO_MSM_V2 |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 193 | select MSM_GPIOMUX |
| 194 | select MSM_SCM if SMP |
| 195 | select MSM_DIRECT_SCLK_ACCESS |
| 196 | select REGULATOR |
David Collins | 5779cea | 2012-01-05 15:09:21 -0800 | [diff] [blame] | 197 | select MSM_RPM_REGULATOR |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 198 | select MSM_RPM |
| 199 | select MSM_XO |
| 200 | select MSM_QDSP6_APR |
Harmandeep Singh | c35fa07d | 2012-05-31 07:08:59 -0700 | [diff] [blame] | 201 | select MSM_QDSP6_CODECS |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 202 | select MSM_PIL |
| 203 | select MSM_AUDIO_QDSP6 if SND_SOC |
| 204 | select CPU_HAS_L2_PMU |
| 205 | select MSM_SPM_V2 |
| 206 | select MSM_L2_SPM |
| 207 | select MSM_NATIVE_RESTART |
| 208 | select DONT_MAP_HOLE_AFTER_MEMBANK0 |
Eric Holmberg | eab1073 | 2011-09-23 19:44:43 -0600 | [diff] [blame] | 209 | select MSM_REMOTE_SPINLOCK_SFPB |
Larry Bassel | f74479e | 2011-09-08 11:07:52 -0700 | [diff] [blame] | 210 | select ARCH_SPARSEMEM_ENABLE |
| 211 | select ARCH_HAS_HOLES_MEMORYMODEL |
Baruch Eruchimovitch | 258b347 | 2012-10-14 21:46:35 +0200 | [diff] [blame] | 212 | select MSM_ULTRASOUND_A |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 213 | select MULTI_IRQ_HANDLER |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 214 | select MSM_PM8X60 if PM |
Laura Abbott | 085dd20 | 2012-03-30 14:02:34 -0700 | [diff] [blame] | 215 | select HOLES_IN_ZONE if SPARSEMEM |
Laura Abbott | b14ed96 | 2012-01-30 14:18:08 -0800 | [diff] [blame] | 216 | select ARM_HAS_SG_CHAIN |
Stepan Moskovchenko | 196f86e | 2012-07-13 20:40:46 -0700 | [diff] [blame] | 217 | select MSM_KRAIT_WFE_FIXUP |
Olav Haugan | 5e72872 | 2012-11-05 17:45:26 -0800 | [diff] [blame] | 218 | select MSM_IOMMU_GPU_SYNC |
Greg Reid | b1d240a | 2012-10-12 12:20:31 -0400 | [diff] [blame] | 219 | select GENERIC_TIME_VSYSCALL |
| 220 | select USE_USER_ACCESSIBLE_TIMERS |
| 221 | select ARM_USE_USER_ACCESSIBLE_TIMERS |
| 222 | select MSM_USE_USER_ACCESSIBLE_TIMERS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 223 | |
| 224 | config ARCH_APQ8064 |
| 225 | bool "APQ8064" |
| 226 | select ARCH_MSM_KRAITMP |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 227 | select GPIO_MSM_V2 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 228 | select ARM_GIC |
| 229 | select CPU_V7 |
| 230 | select MSM_SCM if SMP |
Joel King | 4ebccc6 | 2011-07-22 09:43:22 -0700 | [diff] [blame] | 231 | select MSM_GPIOMUX |
Eric Holmberg | 40d2188 | 2011-09-27 09:42:03 -0600 | [diff] [blame] | 232 | select MSM_REMOTE_SPINLOCK_SFPB |
Swaminathan Sathappan | 47e5d93 | 2011-12-05 14:48:07 -0800 | [diff] [blame] | 233 | select MSM_PIL |
Swaminathan Sathappan | 2f51a75 | 2011-12-05 12:51:19 -0800 | [diff] [blame] | 234 | select MSM_QDSP6_APR |
Harmandeep Singh | c35fa07d | 2012-05-31 07:08:59 -0700 | [diff] [blame] | 235 | select MSM_QDSP6_CODECS |
Swaminathan Sathappan | 2f51a75 | 2011-12-05 12:51:19 -0800 | [diff] [blame] | 236 | select MSM_AUDIO_QDSP6 if SND_SOC |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 237 | select MULTI_IRQ_HANDLER |
Praveen Chidambaram | 7849901 | 2011-11-01 17:15:17 -0600 | [diff] [blame] | 238 | select MSM_RPM |
| 239 | select MSM_SPM_V2 |
| 240 | select MSM_L2_SPM |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 241 | select MSM_PM8X60 if PM |
Neil Leeder | 814d3d3 | 2012-01-19 17:21:43 -0500 | [diff] [blame] | 242 | select CPU_HAS_L2_PMU |
Laura Abbott | 085dd20 | 2012-03-30 14:02:34 -0700 | [diff] [blame] | 243 | select HOLES_IN_ZONE if SPARSEMEM |
Larry Bassel | 67b921d | 2012-04-06 10:23:27 -0700 | [diff] [blame] | 244 | select CLEANCACHE |
| 245 | select QCACHE |
Niranjana Vishwanathapura | f1427ac | 2012-05-03 14:28:21 -0600 | [diff] [blame] | 246 | select MIGHT_HAVE_PCI |
| 247 | select ARCH_SUPPORTS_MSI |
Laura Abbott | b14ed96 | 2012-01-30 14:18:08 -0800 | [diff] [blame] | 248 | select ARM_HAS_SG_CHAIN |
Stepan Moskovchenko | 196f86e | 2012-07-13 20:40:46 -0700 | [diff] [blame] | 249 | select MSM_KRAIT_WFE_FIXUP |
Baruch Eruchimovitch | 258b347 | 2012-10-14 21:46:35 +0200 | [diff] [blame] | 250 | select MSM_ULTRASOUND_A |
Olav Haugan | 5e72872 | 2012-11-05 17:45:26 -0800 | [diff] [blame] | 251 | select MSM_IOMMU_GPU_SYNC |
Greg Reid | b1d240a | 2012-10-12 12:20:31 -0400 | [diff] [blame] | 252 | select GENERIC_TIME_VSYSCALL |
| 253 | select USE_USER_ACCESSIBLE_TIMERS |
| 254 | select ARM_USE_USER_ACCESSIBLE_TIMERS |
| 255 | select MSM_USE_USER_ACCESSIBLE_TIMERS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 256 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 257 | config ARCH_MSM8974 |
| 258 | bool "MSM8974" |
Sathish Ambley | d4efc76 | 2011-10-09 22:19:22 -0700 | [diff] [blame] | 259 | select ARCH_MSM_KRAITMP |
Sathish Ambley | 4149e84 | 2012-03-23 11:53:55 -0700 | [diff] [blame] | 260 | select GPIO_MSM_V3 |
Sathish Ambley | d4efc76 | 2011-10-09 22:19:22 -0700 | [diff] [blame] | 261 | select ARM_GIC |
| 262 | select CPU_V7 |
| 263 | select MSM_SCM if SMP |
| 264 | select MSM_GPIOMUX |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 265 | select MULTI_IRQ_HANDLER |
Olav Haugan | b800c8c | 2012-01-30 08:50:45 -0800 | [diff] [blame] | 266 | select MSM_MULTIMEDIA_USE_ION |
Matt Wagantall | c2bbdc3 | 2012-03-21 19:44:50 -0700 | [diff] [blame] | 267 | select MSM_PIL |
Praveen Chidambaram | aa9d52b | 2012-04-02 11:09:47 -0600 | [diff] [blame] | 268 | select MSM_SPM_V2 |
| 269 | select MSM_L2_SPM |
Stepan Moskovchenko | a000d13 | 2012-08-14 21:05:14 -0700 | [diff] [blame] | 270 | select MSM_NATIVE_RESTART |
| 271 | select MSM_RESTART_V2 |
Praveen Chidambaram | 85b7b28 | 2012-04-16 13:45:15 -0600 | [diff] [blame] | 272 | select MSM_PM8X60 if PM |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 273 | select MAY_HAVE_SPARSE_IRQ |
| 274 | select SPARSE_IRQ |
Mahesh Sivasubramanian | cb66871 | 2012-04-04 13:03:25 -0600 | [diff] [blame] | 275 | select MSM_RPM_SMD |
David Collins | c764232 | 2012-04-04 10:19:12 -0700 | [diff] [blame] | 276 | select REGULATOR |
Joonwoo Park | 91d9546 | 2012-08-02 10:55:54 -0700 | [diff] [blame] | 277 | select MSM_QDSP6_APRV2 |
Harmandeep Singh | e5ddfe3 | 2012-05-26 09:39:25 -0700 | [diff] [blame] | 278 | select MSM_QDSP6V2_CODECS |
| 279 | select MSM_AUDIO_QDSP6V2 if SND_SOC |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 280 | select MSM_RPM_REGULATOR_SMD |
Laura Abbott | b14ed96 | 2012-01-30 14:18:08 -0800 | [diff] [blame] | 281 | select ARM_HAS_SG_CHAIN |
Karthik Parsha | 404fb8f | 2012-07-30 19:14:05 -0700 | [diff] [blame] | 282 | select MSM_RUN_QUEUE_STATS |
Neeti Desai | 92eab92 | 2012-10-22 15:14:48 -0700 | [diff] [blame] | 283 | select MEMORY_HOLE_CARVEOUT |
Priyanka Mathur | 1af9d4b | 2012-10-30 14:55:44 -0700 | [diff] [blame] | 284 | select MSM_RPM_STATS_LOG |
Karthikeyan Ramasubramanian | 1edce9e | 2012-11-08 18:26:10 -0700 | [diff] [blame] | 285 | select QMI_ENCDEC |
Neeti Desai | 1b2cb55 | 2012-11-01 21:57:36 -0700 | [diff] [blame] | 286 | select DONT_MAP_HOLE_AFTER_MEMBANK0 |
Sathish Ambley | d4efc76 | 2011-10-09 22:19:22 -0700 | [diff] [blame] | 287 | |
Ravi Kumar V | b31dbba | 2012-08-31 22:40:22 +0530 | [diff] [blame] | 288 | config ARCH_MPQ8092 |
| 289 | bool "MPQ8092" |
| 290 | select ARCH_MSM_KRAITMP |
| 291 | select GPIO_MSM_V3 |
| 292 | select ARM_GIC |
| 293 | select MULTI_IRQ_HANDLER |
| 294 | select CPU_V7 |
| 295 | select MSM_GPIOMUX |
| 296 | select MAY_HAVE_SPARSE_IRQ |
| 297 | select SPARSE_IRQ |
| 298 | select MSM_NOPM |
| 299 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 300 | config ARCH_FSM9XXX |
| 301 | bool "FSM9XXX" |
| 302 | select ARCH_MSM_SCORPION |
| 303 | select MSM_VIC |
| 304 | select CPU_V7 |
| 305 | select MSM_REMOTE_SPINLOCK_LDREX |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 306 | select GPIO_FSM9XXX |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 307 | select MULTI_IRQ_HANDLER |
Bryan Huntsman | 18b3c0c | 2011-11-23 15:12:58 -0800 | [diff] [blame] | 308 | select MSM_DALRPC |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 309 | |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 310 | config ARCH_MSM9615 |
| 311 | bool "MSM9615" |
| 312 | select ARM_GIC |
Taniya Das | b241bd8 | 2012-03-19 17:58:06 +0530 | [diff] [blame] | 313 | select GIC_SECURE |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 314 | select ARCH_MSM_CORTEX_A5 |
| 315 | select CPU_V7 |
Rohit Vaswani | 4307c84 | 2012-10-11 15:50:05 -0700 | [diff] [blame] | 316 | select MIGHT_HAVE_CACHE_L2X0 |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 317 | select GPIO_MSM_V2 |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 318 | select MSM_GPIOMUX |
Praveen Chidambaram | ab3b1c4 | 2011-08-25 08:44:05 -0600 | [diff] [blame] | 319 | select MSM_RPM |
Maheshkumar Sivasubramanian | 738b458 | 2011-09-06 17:26:24 -0600 | [diff] [blame] | 320 | select MSM_SPM_V2 |
Rohit Vaswani | f688fa6 | 2011-10-13 18:13:10 -0700 | [diff] [blame] | 321 | select MSM_NATIVE_RESTART |
Matt Wagantall | 9274df9 | 2011-12-15 11:11:05 -0800 | [diff] [blame] | 322 | select REGULATOR |
| 323 | select MSM_RPM_REGULATOR |
Marc Zyngier | 89bdafd1 | 2011-12-22 11:39:20 +0530 | [diff] [blame] | 324 | select MULTI_IRQ_HANDLER |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 325 | select MSM_PM8X60 if PM |
Vikram Mulukutla | 2021c00 | 2011-12-16 12:32:59 -0800 | [diff] [blame] | 326 | select MSM_XO |
Olav Haugan | e6a0acd | 2012-04-05 09:29:12 -0700 | [diff] [blame] | 327 | select MSM_MULTIMEDIA_USE_ION |
Shiv Maliyappanahalli | 9ec55e9 | 2012-01-09 14:44:59 -0800 | [diff] [blame] | 328 | select MSM_QDSP6_APR |
| 329 | select MSM_AUDIO_QDSP6 if SND_SOC |
Rohit Vaswani | ead426f | 2012-01-05 20:24:52 -0800 | [diff] [blame] | 330 | select FIQ |
Laura Abbott | b14ed96 | 2012-01-30 14:18:08 -0800 | [diff] [blame] | 331 | select ARM_HAS_SG_CHAIN |
Matt Wagantall | 9274df9 | 2011-12-15 11:11:05 -0800 | [diff] [blame] | 332 | |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 333 | config ARCH_MSM8625 |
| 334 | bool "MSM8625" |
| 335 | select ARCH_MSM_CORTEX_A5 |
| 336 | select CPU_V7 |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 337 | select GPIO_MSM_V1 |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 338 | select MSM_GPIOMUX |
| 339 | select ARM_GIC |
| 340 | select ARCH_MSM_CORTEXMP |
| 341 | select MULTI_IRQ_HANDLER |
Trilok Soni | 3a45399 | 2012-03-06 18:46:22 +0530 | [diff] [blame] | 342 | select ARM_TICKET_LOCKS |
Krishna Vanka | e292205 | 2012-03-02 09:59:12 +0530 | [diff] [blame] | 343 | select MSM_RUN_QUEUE_STATS |
Trilok Soni | b856ab9 | 2012-06-26 14:33:28 +0530 | [diff] [blame] | 344 | select MIGHT_HAVE_CACHE_L2X0 |
Chintan Pandya | 3544e74 | 2012-08-30 19:39:59 +0530 | [diff] [blame] | 345 | select ARM_HAS_SG_CHAIN |
Rohit Vaswani | fafe249 | 2012-04-23 18:54:12 -0700 | [diff] [blame] | 346 | |
| 347 | config ARCH_MSM9625 |
| 348 | bool "MSM9625" |
| 349 | select ARM_GIC |
Abhimanyu Kapur | 490d20c | 2012-06-22 17:34:20 -0700 | [diff] [blame] | 350 | select MIGHT_HAVE_CACHE_L2X0 |
Rohit Vaswani | fafe249 | 2012-04-23 18:54:12 -0700 | [diff] [blame] | 351 | select ARCH_MSM_CORTEX_A5 |
| 352 | select SMP |
| 353 | select MSM_SMP |
| 354 | select CPU_V7 |
Abhimanyu Kapur | 4bb3862 | 2012-10-16 19:07:48 -0700 | [diff] [blame] | 355 | select MSM_SCM if SMP |
Jin Hong | 690e335 | 2012-05-02 09:25:05 -0700 | [diff] [blame] | 356 | select MSM_GPIOMUX |
Girish Mahadevan | f1c20a4 | 2012-09-19 11:44:36 -0600 | [diff] [blame] | 357 | select MSM_RPM_SMD |
Abhimanyu Kapur | 46e5e2b | 2012-10-02 20:45:37 -0700 | [diff] [blame] | 358 | select MSM_NATIVE_RESTART |
| 359 | select MSM_RESTART_V2 |
Girish Mahadevan | 6e41956 | 2012-09-19 12:50:05 -0600 | [diff] [blame] | 360 | select MSM_SPM_V2 |
| 361 | select MSM_PM8X60 if PM |
| 362 | select MSM_SCM if SMP |
Rohit Vaswani | fafe249 | 2012-04-23 18:54:12 -0700 | [diff] [blame] | 363 | select MULTI_IRQ_HANDLER |
Rohit Vaswani | 61cf6ef | 2012-07-27 13:51:48 -0700 | [diff] [blame] | 364 | select GPIO_MSM_V3 |
David Collins | 1cc6e40 | 2012-09-17 16:02:24 -0700 | [diff] [blame] | 365 | select MAY_HAVE_SPARSE_IRQ |
| 366 | select SPARSE_IRQ |
Mitchel Humpherys | 92e9b8a | 2012-10-08 18:12:47 -0700 | [diff] [blame] | 367 | select MSM_MULTIMEDIA_USE_ION |
Girish Mahadevan | e3be930 | 2012-11-07 16:21:52 -0700 | [diff] [blame] | 368 | select MSM_RPM_STATS_LOG |
Venkat Sudhir | 0620e98 | 2012-11-15 16:04:36 -0800 | [diff] [blame] | 369 | select MSM_QDSP6_APRV2 |
| 370 | select MSM_QDSP6V2_CODECS |
| 371 | select MSM_AUDIO_QDSP6V2 if SND_SOC |
Syed Rameez Mustafa | 9232e5b | 2012-09-21 18:22:49 -0700 | [diff] [blame] | 372 | |
| 373 | config ARCH_MSM8910 |
| 374 | bool "MSM8910" |
| 375 | select ARM_GIC |
| 376 | select GIC_SECURE |
Syed Rameez Mustafa | 9232e5b | 2012-09-21 18:22:49 -0700 | [diff] [blame] | 377 | select ARCH_MSM_CORTEXMP |
| 378 | select CPU_V7 |
| 379 | select MSM_SCM if SMP |
| 380 | select MAY_HAVE_SPARSE_IRQ |
| 381 | select SPARSE_IRQ |
| 382 | select MULTI_IRQ_HANDLER |
| 383 | select GPIO_MSM_V3 |
| 384 | select MSM_GPIOMUX |
Hanumant Singh | e427131 | 2012-10-24 13:27:57 -0700 | [diff] [blame] | 385 | select MSM_NATIVE_RESTART |
| 386 | select MSM_RESTART_V2 |
Syed Rameez Mustafa | 9ee8010 | 2012-11-02 14:41:04 -0700 | [diff] [blame] | 387 | |
| 388 | config ARCH_MSM8226 |
| 389 | bool "MSM8226" |
| 390 | select ARM_GIC |
| 391 | select GIC_SECURE |
Syed Rameez Mustafa | 9ee8010 | 2012-11-02 14:41:04 -0700 | [diff] [blame] | 392 | select ARCH_MSM_CORTEXMP |
| 393 | select CPU_V7 |
| 394 | select MSM_SCM if SMP |
| 395 | select MAY_HAVE_SPARSE_IRQ |
| 396 | select SPARSE_IRQ |
| 397 | select MULTI_IRQ_HANDLER |
| 398 | select GPIO_MSM_V3 |
| 399 | select MSM_GPIOMUX |
Syed Rameez Mustafa | f1bdd71 | 2012-11-20 14:56:44 -0800 | [diff] [blame] | 400 | select MSM_NATIVE_RESTART |
| 401 | select MSM_RESTART_V2 |
Stepan Moskovchenko | 1cd286f | 2011-08-03 19:03:02 -0700 | [diff] [blame] | 402 | endmenu |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 403 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 404 | choice |
| 405 | prompt "MSM SoC Revision" |
| 406 | default MSM_SOC_REV_NONE |
| 407 | config MSM_SOC_REV_NONE |
| 408 | bool "N/A" |
| 409 | select EMULATE_DOMAIN_MANAGER_V7 if ARCH_QSD8X50 |
| 410 | select VERIFY_PERMISSION_FAULT if ARCH_QSD8X50 |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 411 | config MSM_SOC_REV_A |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 412 | bool "Rev. A" |
| 413 | select ARCH_MSM7X27A if ARCH_MSM7X27 |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 414 | endchoice |
| 415 | |
Stepan Moskovchenko | 00da074 | 2011-07-08 14:06:44 -0700 | [diff] [blame] | 416 | config MSM_KRAIT_TBB_ABORT_HANDLER |
| 417 | bool "Krait TBB/TBH data abort handler" |
| 418 | depends on ARCH_MSM_KRAIT |
| 419 | depends on ARM_THUMB |
| 420 | help |
| 421 | Certain early samples of the Krait processor may generate data |
| 422 | aborts for TBB / TBH instructions that fail their condition code |
| 423 | checks. Enabling this option will ignore these erroneous data aborts, |
| 424 | at the expense of a very small performance penalty. |
Stephen Boyd | a3d3ef9 | 2011-11-08 10:33:04 -0800 | [diff] [blame] | 425 | |
Stepan Moskovchenko | 00da074 | 2011-07-08 14:06:44 -0700 | [diff] [blame] | 426 | If unsure, say N. |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 427 | |
| 428 | config ARCH_MSM_ARM11 |
| 429 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 430 | |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 431 | config ARCH_MSM_SCORPION |
| 432 | bool |
| 433 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 434 | config ARCH_MSM_KRAIT |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 435 | bool |
Stephen Boyd | 51cabbe | 2011-12-02 13:28:56 -0800 | [diff] [blame] | 436 | select ARM_L1_CACHE_SHIFT_6 |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 437 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 438 | config MSM_SMP |
Steve Muckle | f132c6c | 2012-06-06 18:30:57 -0700 | [diff] [blame] | 439 | select HAVE_SMP |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 440 | bool |
| 441 | |
| 442 | config ARCH_MSM_SCORPIONMP |
| 443 | select ARCH_MSM_SCORPION |
| 444 | select MSM_SMP |
Taniya Das | c43e687 | 2012-03-21 16:41:14 +0530 | [diff] [blame] | 445 | select HAVE_ARCH_HAS_CURRENT_TIMER |
Pratik Patel | 2963de4 | 2012-05-17 12:43:40 -0700 | [diff] [blame] | 446 | select MSM_JTAG if MSM_QDSS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 447 | bool |
| 448 | |
| 449 | config ARCH_MSM_KRAITMP |
| 450 | select ARCH_MSM_KRAIT |
| 451 | select MSM_SMP |
Taniya Das | c43e687 | 2012-03-21 16:41:14 +0530 | [diff] [blame] | 452 | select HAVE_ARCH_HAS_CURRENT_TIMER |
Pratik Patel | 2963de4 | 2012-05-17 12:43:40 -0700 | [diff] [blame] | 453 | select MSM_JTAG if MSM_QDSS |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 454 | bool |
| 455 | |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 456 | config ARCH_MSM_CORTEXMP |
| 457 | select MSM_SMP |
| 458 | bool |
| 459 | |
Stepan Moskovchenko | 196f86e | 2012-07-13 20:40:46 -0700 | [diff] [blame] | 460 | config MSM_KRAIT_WFE_FIXUP |
| 461 | bool |
| 462 | |
Stepan Moskovchenko | a000d13 | 2012-08-14 21:05:14 -0700 | [diff] [blame] | 463 | config MSM_RESTART_V2 |
| 464 | bool |
| 465 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 466 | config ARCH_MSM_CORTEX_A5 |
Bryan Huntsman | 239ef1e | 2011-11-23 15:09:13 -0800 | [diff] [blame] | 467 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 468 | |
| 469 | config ARCH_MSM7X27A |
| 470 | bool |
| 471 | select MSM_DALRPC |
Justin Paupore | b3a33b7 | 2011-08-23 15:30:32 -0700 | [diff] [blame] | 472 | select MSM_PROC_COMM_REGULATOR |
Taniya Das | 86e0e13 | 2011-10-19 11:32:00 +0530 | [diff] [blame] | 473 | select MULTI_IRQ_HANDLER |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 474 | select ARM_GIC |
| 475 | select ARCH_MSM_CORTEXMP |
Trilok Soni | b856ab9 | 2012-06-26 14:33:28 +0530 | [diff] [blame] | 476 | select MIGHT_HAVE_CACHE_L2X0 |
Chintan Pandya | 3544e74 | 2012-08-30 19:39:59 +0530 | [diff] [blame] | 477 | select ARM_HAS_SG_CHAIN |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 478 | |
Gregory Bean | f9f3d31 | 2010-04-30 22:06:50 -0700 | [diff] [blame] | 479 | config MSM_VIC |
| 480 | bool |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 481 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 482 | config MSM_RPM |
| 483 | bool "Resource Power Manager" |
| 484 | select MSM_MPM |
| 485 | |
Mahesh Sivasubramanian | a8ff992 | 2012-03-27 17:50:42 -0600 | [diff] [blame] | 486 | config MSM_RPM_SMD |
| 487 | depends on MSM_SMD |
Mahesh Sivasubramanian | 102e596 | 2012-06-20 13:12:11 -0600 | [diff] [blame] | 488 | select MSM_MPM_OF |
| 489 | bool "RPM driver using SMD protocol" |
| 490 | help |
| 491 | RPM is the dedicated hardware engine for managing shared SoC |
| 492 | resources. This config adds driver support for using SMD as a |
| 493 | transport layer communication with RPM hardware. It also selects |
| 494 | the MSM_MPM config that programs the MPM module to monitor interrupts |
| 495 | during sleep modes. |
Mahesh Sivasubramanian | a8ff992 | 2012-03-27 17:50:42 -0600 | [diff] [blame] | 496 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 497 | config MSM_MPM |
| 498 | bool "Modem Power Manager" |
Mahesh Sivasubramanian | 102e596 | 2012-06-20 13:12:11 -0600 | [diff] [blame] | 499 | help |
| 500 | MPM is a dedicated hardware resource responsible for entering and |
| 501 | waking up from a system wide low power mode. The MPM driver tracks |
| 502 | the wakeup interrupts and configures the MPM to monitor the wakeup |
| 503 | interrupts when going to a system wide sleep mode. |
| 504 | |
| 505 | config MSM_MPM_OF |
| 506 | bool "Modem Power Manager" |
| 507 | depends on CONFIG_OF |
| 508 | help |
| 509 | MPM is a dedicated hardware resource responsible for entering and |
| 510 | waking up from a system wide low power mode. The MPM driver tracks |
| 511 | the wakeup interrupts and configures the MPM to monitor the wakeup |
| 512 | interrupts when going to a system wide sleep mode. This config option |
| 513 | enables the MPM driver that supports initialization from a device |
| 514 | tree |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 515 | |
| 516 | config MSM_XO |
| 517 | bool |
| 518 | |
| 519 | config MSM_REMOTE_SPINLOCK_DEKKERS |
| 520 | bool |
| 521 | config MSM_REMOTE_SPINLOCK_SWP |
| 522 | bool |
| 523 | config MSM_REMOTE_SPINLOCK_LDREX |
| 524 | bool |
Eric Holmberg | eab1073 | 2011-09-23 19:44:43 -0600 | [diff] [blame] | 525 | config MSM_REMOTE_SPINLOCK_SFPB |
| 526 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 527 | config MSM_ADM3 |
| 528 | bool |
| 529 | |
| 530 | menu "MSM Board Selection" |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 531 | |
| 532 | config MACH_HALIBUT |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 533 | depends on ARCH_MSM7X01A |
| 534 | depends on MSM_STACKED_MEMORY |
| 535 | default y |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 536 | bool "Halibut Board (QCT SURF7201A)" |
| 537 | help |
| 538 | Support for the Qualcomm SURF7201A eval board. |
| 539 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 540 | config MACH_MSM7201A_SURF |
| 541 | depends on ARCH_MSM7X01A |
| 542 | depends on MSM_STACKED_MEMORY |
| 543 | default y |
| 544 | bool "MSM7201A SURF" |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 545 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 546 | Support for the Qualcomm MSM7201A SURF eval board. |
| 547 | |
| 548 | config MACH_MSM7201A_FFA |
| 549 | depends on ARCH_MSM7X01A |
| 550 | depends on MSM_STACKED_MEMORY |
| 551 | default y |
| 552 | bool "MSM7201A FFA" |
| 553 | help |
| 554 | Support for the Qualcomm MSM7201A FFA eval board. |
| 555 | |
| 556 | config MACH_TROUT |
| 557 | depends on ARCH_MSM7X01A |
| 558 | depends on MSM_STACKED_MEMORY |
| 559 | default y |
| 560 | bool "Trout" |
| 561 | |
| 562 | config MACH_MSM7X27_SURF |
| 563 | depends on ARCH_MSM7X27 |
| 564 | depends on !MSM_STACKED_MEMORY |
| 565 | default y |
| 566 | bool "MSM7x27 SURF" |
| 567 | help |
| 568 | Support for the Qualcomm MSM7x27 SURF eval board. |
| 569 | |
| 570 | config MACH_MSM7X27_FFA |
| 571 | depends on ARCH_MSM7X27 |
| 572 | depends on !MSM_STACKED_MEMORY |
| 573 | default y |
| 574 | bool "MSM7x27 FFA" |
| 575 | help |
| 576 | Support for the Qualcomm MSM7x27 FFA eval board. |
| 577 | |
| 578 | config MACH_MSM7X27A_RUMI3 |
| 579 | depends on ARCH_MSM7X27A |
| 580 | depends on !MSM_STACKED_MEMORY |
| 581 | default y |
| 582 | bool "MSM7x27A RUMI3" |
| 583 | help |
| 584 | Support for the Qualcomm MSM7x27A RUMI3 Emulation Platform. |
| 585 | |
| 586 | config MACH_MSM7X27A_SURF |
| 587 | depends on ARCH_MSM7X27A |
| 588 | depends on !MSM_STACKED_MEMORY |
| 589 | default y |
| 590 | bool "MSM7x27A SURF" |
| 591 | help |
| 592 | Support for the Qualcomm MSM7x27A SURF. |
| 593 | |
| 594 | config MACH_MSM7X27A_FFA |
| 595 | depends on ARCH_MSM7X27A |
| 596 | depends on !MSM_STACKED_MEMORY |
| 597 | default y |
| 598 | bool "MSM7x27A FFA" |
| 599 | help |
| 600 | Support for the Qualcomm MSM7x27A FFA. |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 601 | |
Trilok Soni | 3d0f6c5 | 2011-07-26 16:06:58 +0530 | [diff] [blame] | 602 | config MACH_MSM7625A_SURF |
| 603 | depends on ARCH_MSM7X27A |
| 604 | depends on !MSM_STACKED_MEMORY |
| 605 | default y |
| 606 | bool "MSM7625A SURF" |
| 607 | help |
| 608 | Support for the Qualcomm MSM7625A SURF. |
| 609 | |
| 610 | config MACH_MSM7625A_FFA |
| 611 | depends on ARCH_MSM7X27A |
| 612 | depends on !MSM_STACKED_MEMORY |
| 613 | default y |
| 614 | bool "MSM7625A FFA" |
| 615 | help |
| 616 | Support for the Qualcomm MSM7625A FFA. |
| 617 | |
Taniya Das | c98bfbc | 2011-08-23 09:58:55 +0530 | [diff] [blame] | 618 | config MACH_MSM7627A_QRD1 |
| 619 | depends on ARCH_MSM7X27A |
| 620 | depends on !MSM_STACKED_MEMORY |
| 621 | default y |
| 622 | bool "MSM7627A QRD1" |
| 623 | help |
Chintan Pandya | b1bad0e | 2012-02-06 19:04:51 +0530 | [diff] [blame] | 624 | Support for the Qualcomm MSM7627A Reference Design. |
| 625 | |
| 626 | config MACH_MSM7627A_QRD3 |
| 627 | depends on ARCH_MSM7X27A |
| 628 | depends on !MSM_STACKED_MEMORY |
| 629 | default y |
| 630 | bool "MSM7627A QRD3" |
| 631 | help |
| 632 | Support for the Qualcomm MSM7627A Reference Design. |
Taniya Das | c98bfbc | 2011-08-23 09:58:55 +0530 | [diff] [blame] | 633 | |
Taniya Das | c868a2e | 2012-01-03 10:18:47 +0530 | [diff] [blame] | 634 | config MACH_MSM7627A_EVB |
| 635 | depends on ARCH_MSM7X27A |
| 636 | depends on !MSM_STACKED_MEMORY |
| 637 | default y |
| 638 | bool "MSM7627A EVB" |
| 639 | help |
| 640 | Support for the Qualcomm MSM7627A Reference Design. |
| 641 | |
Taniya Das | 43bcdd6 | 2011-12-02 17:33:27 +0530 | [diff] [blame] | 642 | config MACH_MSM8625_RUMI3 |
| 643 | depends on ARCH_MSM8625 |
| 644 | depends on !MSM_STACKED_MEMORY |
| 645 | default y |
| 646 | bool "MSM8625 RUMI3" |
| 647 | help |
| 648 | Support for the Qualcomm MSM8625 RUMI3 Emulation Platform. |
| 649 | |
Taniya Das | e3027e2 | 2012-02-27 16:32:27 +0530 | [diff] [blame] | 650 | config MACH_MSM8625_SURF |
| 651 | depends on ARCH_MSM8625 |
| 652 | depends on !MSM_STACKED_MEMORY |
| 653 | default y |
| 654 | bool "MSM8625 SURF" |
| 655 | help |
| 656 | Support for the Qualcomm MSM8625 SURF. |
| 657 | |
Aparna Mallavarapu | 9f000a7 | 2012-04-20 15:37:57 +0530 | [diff] [blame] | 658 | config MACH_MSM8625_FFA |
| 659 | depends on ARCH_MSM8625 |
| 660 | depends on !MSM_STACKED_MEMORY |
| 661 | default y |
| 662 | bool "MSM8625 FFA" |
| 663 | help |
| 664 | Support for the Qualcomm MSM8625 FFA. |
| 665 | |
Chintan Pandya | f4ad400 | 2012-02-28 19:49:03 +0530 | [diff] [blame] | 666 | config MACH_MSM8625_EVB |
| 667 | depends on ARCH_MSM8625 |
| 668 | depends on !MSM_STACKED_MEMORY |
| 669 | default y |
| 670 | bool "MSM8625 EVB" |
| 671 | help |
| 672 | Support for the Qualcomm MSM8625 Reference Design. |
| 673 | |
Taniya Das | bd09654 | 2012-03-15 17:43:45 +0530 | [diff] [blame] | 674 | config MACH_MSM8625_QRD7 |
| 675 | depends on ARCH_MSM8625 |
| 676 | depends on !MSM_STACKED_MEMORY |
| 677 | default y |
| 678 | bool "MSM8625 QRD7" |
| 679 | help |
| 680 | Support for the Qualcomm MSM8625 Reference Design. |
| 681 | |
Aparna Mallavarapu | 5a32624 | 2012-05-09 19:49:02 +0530 | [diff] [blame] | 682 | config MACH_MSM8625_EVT |
| 683 | depends on ARCH_MSM8625 |
| 684 | depends on !MSM_STACKED_MEMORY |
| 685 | default y |
| 686 | bool "MSM8625 EVT" |
| 687 | help |
| 688 | Support for the Qualcomm MSM8625 Reference Design. |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 689 | |
Channagoud Kadabi | 2bd65c8 | 2012-10-12 15:14:23 +0530 | [diff] [blame] | 690 | config MACH_QRD_SKUD_PRIME |
| 691 | depends on ARCH_MSM8625 |
| 692 | depends on !MSM_STACKED_MEMORY |
| 693 | default y |
| 694 | bool "MSM8625 SKUD PRIME" |
| 695 | help |
| 696 | Support for the Qualcomm MSM8625 SKUD prime Reference Design. |
| 697 | Add support for a SKUD prime reference design based on MSM8x25 |
| 698 | chipset. This device is much closer to a phone than regular form |
| 699 | factor devices, with new touch, display panel and other hardware |
| 700 | configurations. |
| 701 | |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 702 | config MACH_MSM7X30_SURF |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 703 | depends on ARCH_MSM7X30 |
| 704 | depends on !MSM_STACKED_MEMORY |
| 705 | default y |
| 706 | bool "MSM7x30 SURF" |
| 707 | help |
| 708 | Support for the Qualcomm MSM7x30 SURF eval board. |
| 709 | |
| 710 | config MACH_MSM7X30_FFA |
| 711 | depends on ARCH_MSM7X30 |
| 712 | depends on !MSM_STACKED_MEMORY |
| 713 | default y |
| 714 | bool "MSM7x30 FFA" |
| 715 | help |
| 716 | Support for the Qualcomm MSM7x30 FFA eval board. |
| 717 | |
| 718 | config MACH_MSM7X30_FLUID |
| 719 | depends on ARCH_MSM7X30 |
| 720 | depends on !MSM_STACKED_MEMORY |
| 721 | default y |
| 722 | bool "MSM7x30 FLUID" |
| 723 | help |
| 724 | Support for the Qualcomm MSM7x30 FLUID eval board. |
| 725 | |
| 726 | config MACH_SAPPHIRE |
| 727 | depends on ARCH_MSM7X01A |
| 728 | default n |
| 729 | bool "Sapphire" |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 730 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 731 | config MACH_QSD8X50_SURF |
| 732 | depends on ARCH_QSD8X50 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 733 | depends on MSM_SOC_REV_NONE |
| 734 | depends on MSM_STACKED_MEMORY |
| 735 | default y |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 736 | bool "QSD8x50 SURF" |
| 737 | help |
| 738 | Support for the Qualcomm QSD8x50 SURF eval board. |
| 739 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 740 | config MACH_QSD8X50_FFA |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 741 | depends on ARCH_QSD8X50 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 742 | depends on MSM_SOC_REV_NONE |
| 743 | depends on MSM_STACKED_MEMORY |
| 744 | default y |
| 745 | bool "QSD8x50 FFA" |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 746 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 747 | Support for the Qualcomm QSD8x50 FFA eval board. |
| 748 | |
| 749 | config MACH_MSM7X25_SURF |
| 750 | depends on ARCH_MSM7X25 |
| 751 | depends on !MSM_STACKED_MEMORY |
| 752 | default y |
| 753 | bool "MSM7x25 SURF" |
| 754 | help |
| 755 | Support for the Qualcomm MSM7x25 SURF eval board. |
| 756 | |
| 757 | config MACH_MSM7X25_FFA |
| 758 | depends on ARCH_MSM7X25 |
| 759 | depends on !MSM_STACKED_MEMORY |
| 760 | default y |
| 761 | bool "MSM7x25 FFA" |
| 762 | help |
| 763 | Support for the Qualcomm MSM7x25 FFA eval board. |
| 764 | |
| 765 | config MACH_MSM8X55_SURF |
| 766 | depends on ARCH_MSM7X30 |
| 767 | depends on !MSM_STACKED_MEMORY |
| 768 | default y |
| 769 | bool "MSM8X55 SURF" |
| 770 | help |
| 771 | Support for the Qualcomm MSM8x55 SURF eval board. |
| 772 | |
| 773 | config MACH_MSM8X55_FFA |
| 774 | depends on ARCH_MSM7X30 |
| 775 | depends on !MSM_STACKED_MEMORY |
| 776 | default y |
| 777 | bool "MSM8X55 FFA" |
| 778 | help |
| 779 | Support for the Qualcomm MSM8x55 FFA eval board. |
| 780 | |
| 781 | config MACH_MSM8X55_SVLTE_FFA |
| 782 | depends on ARCH_MSM7X30 |
| 783 | depends on !MSM_STACKED_MEMORY |
| 784 | default y |
| 785 | bool "MSM8X55 SVLTE FFA" |
| 786 | help |
| 787 | Support for the Qualcomm MSM8x55 SVLTE FFA eval board. |
| 788 | |
| 789 | config MACH_MSM8X55_SVLTE_SURF |
| 790 | depends on ARCH_MSM7X30 |
| 791 | depends on !MSM_STACKED_MEMORY |
| 792 | default y |
| 793 | bool "MSM8X55 SVLTE SURF" |
| 794 | help |
| 795 | Support for the Qualcomm MSM8x55 SVLTE SURF eval board. |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 796 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 797 | config MACH_MSM8X60_SURF |
| 798 | depends on ARCH_MSM8X60 |
| 799 | default n |
| 800 | bool "MSM8x60 SURF" |
| 801 | help |
| 802 | Support for the Qualcomm MSM8x60 SURF eval board. |
| 803 | |
Gregory Bean | 69b7f6f | 2010-04-04 22:29:02 -0700 | [diff] [blame] | 804 | config MACH_MSM8X60_FFA |
| 805 | depends on ARCH_MSM8X60 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 806 | default n |
Gregory Bean | 69b7f6f | 2010-04-04 22:29:02 -0700 | [diff] [blame] | 807 | bool "MSM8x60 FFA" |
| 808 | help |
| 809 | Support for the Qualcomm MSM8x60 FFA eval board. |
| 810 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 811 | config MACH_MSM8X60_FLUID |
| 812 | depends on ARCH_MSM8X60 |
| 813 | default n |
| 814 | bool "MSM8x60 FLUID" |
| 815 | help |
| 816 | Support for the Qualcomm MSM8x60 FLUID platform. The FLUID is an |
| 817 | 8x60 target which has a form factor that is much closer to that |
| 818 | of a phone than other targets. It also has a new display and |
| 819 | touchscreen controller. |
| 820 | |
| 821 | config MACH_MSM8X60_FUSION |
| 822 | depends on ARCH_MSM8X60 |
| 823 | default n |
| 824 | bool "MSM8x60 FUSION" |
| 825 | help |
| 826 | Support for the Qualcomm MSM8x60 Fusion SURF device. |
| 827 | |
| 828 | config MACH_MSM8X60_FUSN_FFA |
| 829 | depends on ARCH_MSM8X60 |
| 830 | default n |
| 831 | bool "MSM8x60 FUSN FFA" |
| 832 | help |
| 833 | Support for the Qualcomm MSM8x60 Fusion FFA device. |
| 834 | |
Zhang Chang Ken | ef05b17 | 2011-07-27 15:28:13 -0400 | [diff] [blame] | 835 | config MACH_MSM8X60_DRAGON |
| 836 | depends on ARCH_MSM8X60 |
| 837 | default n |
| 838 | bool "MSM8x60 DRAGON" |
| 839 | help |
| 840 | Support for the Qualcomm MSM8x60 Dragon board. |
| 841 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 842 | config MACH_MSM8960_CDP |
| 843 | depends on ARCH_MSM8960 |
| 844 | bool "MSM8960 CDP" |
| 845 | help |
| 846 | Support for the Qualcomm MSM8960 CDP device. |
| 847 | |
| 848 | config MACH_MSM8960_MTP |
| 849 | depends on ARCH_MSM8960 |
| 850 | bool "MSM8960 MTP" |
| 851 | help |
| 852 | Support for the Qualcomm MSM8960 MTP device. |
| 853 | |
| 854 | config MACH_MSM8960_FLUID |
| 855 | depends on ARCH_MSM8960 |
| 856 | bool "MSM8960 FLUID" |
| 857 | help |
| 858 | Support for the Qualcomm MSM8960 FLUID device. |
| 859 | |
Amir Samuelov | 0d1f8ae | 2011-07-28 11:13:58 +0300 | [diff] [blame] | 860 | config MACH_MSM8960_LIQUID |
| 861 | depends on ARCH_MSM8960 |
| 862 | bool "MSM8960 LIQUID" |
| 863 | help |
| 864 | Support for the Qualcomm MSM8960 LIQUID device. |
| 865 | |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 866 | config MACH_MSM8930_CDP |
| 867 | depends on ARCH_MSM8930 |
| 868 | bool "MSM8930 CDP" |
| 869 | help |
| 870 | Support for the Qualcomm MSM8930 CDP device. |
| 871 | |
| 872 | config MACH_MSM8930_MTP |
| 873 | depends on ARCH_MSM8930 |
| 874 | bool "MSM8930 MTP" |
| 875 | help |
| 876 | Support for the Qualcomm MSM8930 MTP device. |
| 877 | |
| 878 | config MACH_MSM8930_FLUID |
| 879 | depends on ARCH_MSM8930 |
| 880 | bool "MSM8930 FLUID" |
| 881 | help |
| 882 | Support for the Qualcomm MSM8930 FLUID device. |
| 883 | |
Stepan Moskovchenko | 8768eff | 2011-12-01 18:55:07 -0800 | [diff] [blame] | 884 | config MACH_MSM8627_CDP |
| 885 | depends on ARCH_MSM8930 |
| 886 | bool "MSM8627 CDP" |
| 887 | help |
| 888 | Support for the Qualcomm MSM8627 CDP device. |
| 889 | |
| 890 | config MACH_MSM8627_MTP |
| 891 | depends on ARCH_MSM8930 |
| 892 | bool "MSM8627 MTP" |
| 893 | help |
| 894 | Support for the Qualcomm MSM8627 MTP device. |
| 895 | |
Rohit Vaswani | a8e7a83 | 2011-09-28 21:00:05 -0700 | [diff] [blame] | 896 | config MACH_MSM9615_CDP |
| 897 | depends on ARCH_MSM9615 |
| 898 | bool "MSM9615 CDP" |
| 899 | help |
| 900 | Support for the Qualcomm MSM9615 CDP device. |
| 901 | |
| 902 | config MACH_MSM9615_MTP |
| 903 | depends on ARCH_MSM9615 |
| 904 | bool "MSM9615 MTP" |
| 905 | help |
| 906 | Support for the Qualcomm MSM9615 MTP device. |
| 907 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 908 | config MSM_USE_TSIF1 |
| 909 | depends on ARCH_MSM8X60 |
| 910 | bool "MSM8x60 use TSIF1" |
| 911 | help |
| 912 | Selects TSIF1 core to be used rather than TSIF0. |
| 913 | The two TSIF cores share the same DM configuration |
| 914 | so they cannot be used simultaneously. |
| 915 | |
Joel King | 82b7e3f | 2012-01-05 10:03:27 -0800 | [diff] [blame] | 916 | config MACH_APQ8064_CDP |
| 917 | depends on ARCH_APQ8064 |
| 918 | bool "APQ8064 CDP" |
| 919 | help |
| 920 | Support for the Qualcomm APQ8064 CDP device. |
| 921 | |
| 922 | config MACH_APQ8064_MTP |
| 923 | depends on ARCH_APQ8064 |
| 924 | bool "APQ8064 MTP" |
| 925 | help |
| 926 | Support for the Qualcomm APQ8064 MTP device. |
| 927 | |
| 928 | config MACH_APQ8064_LIQUID |
| 929 | depends on ARCH_APQ8064 |
| 930 | bool "APQ8064 LIQUID" |
| 931 | help |
| 932 | Support for the Qualcomm APQ8064 LIQUID device. |
| 933 | |
Joel King | 064bbf8 | 2012-04-01 13:23:39 -0700 | [diff] [blame] | 934 | config MACH_MPQ8064_CDP |
| 935 | depends on ARCH_APQ8064 |
| 936 | bool "MPQ8064 CDP" |
| 937 | help |
| 938 | Support for the Qualcomm MPQ8064 CDP device. |
| 939 | |
Joel King | 11ca820 | 2012-02-13 16:19:03 -0800 | [diff] [blame] | 940 | config MACH_MPQ8064_HRD |
| 941 | depends on ARCH_APQ8064 |
| 942 | bool "MPQ8064 HRD" |
| 943 | help |
| 944 | Support for the Qualcomm MPQ8064 HRD device. |
| 945 | |
| 946 | config MACH_MPQ8064_DTV |
| 947 | depends on ARCH_APQ8064 |
| 948 | bool "MPQ8064 DTV" |
| 949 | help |
| 950 | Support for the Qualcomm MPQ8064 DTV device. |
| 951 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 952 | config MACH_FSM9XXX_SURF |
| 953 | depends on ARCH_FSM9XXX |
| 954 | depends on !MSM_STACKED_MEMORY |
| 955 | default y |
| 956 | bool "FSM9XXX SURF" |
| 957 | help |
| 958 | Support for the Qualcomm FSM9xxx femtocell |
| 959 | chipset based SURF evaluation board and |
| 960 | FFA board. |
| 961 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 962 | endmenu |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 963 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 964 | config MSM_STACKED_MEMORY |
| 965 | bool "Stacked Memory" |
| 966 | default y |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 967 | help |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 968 | This option is used to indicate the presence of on-die stacked |
| 969 | memory. When present this memory bank is used for a high speed |
| 970 | shared memory interface. When not present regular RAM is used. |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 971 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 972 | config PHYS_OFFSET |
| 973 | hex |
Rohit Vaswani | ddeb52a | 2011-08-16 12:26:32 -0700 | [diff] [blame] | 974 | default "0x40800000" if ARCH_MSM9615 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 975 | default "0x80200000" if ARCH_APQ8064 |
| 976 | default "0x80200000" if ARCH_MSM8960 |
Stepan Moskovchenko | 082952d | 2011-10-18 17:27:08 -0700 | [diff] [blame] | 977 | default "0x80200000" if ARCH_MSM8930 |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 978 | default "0x00000000" if ARCH_MSM8974 |
Ravi Kumar V | b31dbba | 2012-08-31 22:40:22 +0530 | [diff] [blame] | 979 | default "0x00000000" if ARCH_MPQ8092 |
Syed Rameez Mustafa | 90f8050 | 2012-08-23 17:27:24 -0700 | [diff] [blame] | 980 | default "0x00000000" if ARCH_MSM8226 |
Syed Rameez Mustafa | 02dd1a3 | 2012-10-26 11:02:26 -0700 | [diff] [blame] | 981 | default "0x00000000" if ARCH_MSM8910 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 982 | default "0x10000000" if ARCH_FSM9XXX |
Abhimanyu Kapur | 20ac2ad | 2012-09-25 04:23:59 -0700 | [diff] [blame] | 983 | default "0x00200000" if ARCH_MSM9625 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 984 | default "0x00200000" if !MSM_STACKED_MEMORY |
| 985 | default "0x00000000" if ARCH_QSD8X50 && MSM_SOC_REV_A |
| 986 | default "0x20000000" if ARCH_QSD8X50 |
| 987 | default "0x40200000" if ARCH_MSM8X60 |
| 988 | default "0x10000000" |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 989 | |
Mitchel Humpherys | 05e5881 | 2012-08-13 14:24:13 -0700 | [diff] [blame] | 990 | config KERNEL_MSM_CONTIG_MEM_REGION |
| 991 | bool "Enable in-kernel contiguous memory region" |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 992 | default y if ARCH_MSM8X60 |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 993 | depends on ANDROID_PMEM && (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974) |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 994 | help |
Mitchel Humpherys | 05e5881 | 2012-08-13 14:24:13 -0700 | [diff] [blame] | 995 | Enable the in-kernel contiguous memory allocator. Sets up a |
| 996 | region of physically contiguous memory. This memory is |
| 997 | reserved during initialization, and can be used |
| 998 | generically. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 999 | |
| 1000 | config KERNEL_PMEM_SMI_REGION |
| 1001 | bool "Enable in-kernel PMEM region for SMI" |
| 1002 | default y if ARCH_MSM8X60 |
| 1003 | depends on ANDROID_PMEM && ((ARCH_QSD8X50 && !PMEM_GPU0) || (ARCH_MSM8X60 && !VCM)) |
| 1004 | help |
| 1005 | Enable the in-kernel PMEM allocator to use SMI memory. |
| 1006 | |
| 1007 | config PMEM_GPU0 |
| 1008 | bool "Enable PMEM GPU0 region" |
| 1009 | default y |
| 1010 | depends on ARCH_QSD8X50 && ANDROID_PMEM |
| 1011 | help |
| 1012 | Enable the PMEM GPU0 device on SMI Memory. |
| 1013 | |
| 1014 | config MSM_AMSS_VERSION |
| 1015 | int |
| 1016 | default 6210 if MSM_AMSS_VERSION_6210 |
| 1017 | default 6220 if MSM_AMSS_VERSION_6220 |
| 1018 | default 6225 if MSM_AMSS_VERSION_6225 |
| 1019 | |
| 1020 | choice |
| 1021 | prompt "AMSS modem firmware version" |
| 1022 | |
| 1023 | default MSM_AMSS_VERSION_6225 |
| 1024 | |
| 1025 | config MSM_AMSS_VERSION_6210 |
| 1026 | bool "6.2.10" |
| 1027 | |
| 1028 | config MSM_AMSS_VERSION_6220 |
| 1029 | bool "6.2.20" |
| 1030 | |
| 1031 | config MSM_AMSS_VERSION_6225 |
| 1032 | bool "6.2.20 + New ADSP" |
| 1033 | endchoice |
Stepan Moskovchenko | 2607b0a | 2010-11-15 17:46:10 -0800 | [diff] [blame] | 1034 | |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 1035 | config MSM_HAS_DEBUG_UART_HS |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 1036 | bool |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 1037 | help |
| 1038 | Say Y here if high speed MSM UART is present. |
| 1039 | |
| 1040 | config MSM_HAS_DEBUG_UART_HS_V14 |
| 1041 | bool |
| 1042 | select MSM_HAS_DEBUG_UART_HS |
| 1043 | help |
| 1044 | Say Y here if high speed MSM UART v1.4 is present. |
| 1045 | |
Taniya Das | fa4ee7f | 2012-02-21 15:04:51 +0530 | [diff] [blame] | 1046 | config MSM_DEBUG_UART_PHYS |
| 1047 | hex |
| 1048 | default 0xA9A00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART1 |
| 1049 | default 0xACA00000 if ARCH_MSM7X30 && DEBUG_MSM_UART1 |
| 1050 | default 0x94000000 if ARCH_FSM9XXX && DEBUG_MSM_UART1 |
| 1051 | default 0xA9B00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART2 |
| 1052 | default 0xACB00000 if ARCH_MSM7X30 && DEBUG_MSM_UART2 |
| 1053 | default 0x94100000 if ARCH_FSM9XXX && DEBUG_MSM_UART2 |
| 1054 | default 0xA9C00000 if (ARCH_MSM7X27 || ARCH_QSD8X50) && DEBUG_MSM_UART3 |
| 1055 | default 0xACC00000 if ARCH_MSM7X30 && DEBUG_MSM_UART3 |
| 1056 | |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1057 | choice |
| 1058 | prompt "Debug UART" |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1059 | depends on DEBUG_LL |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1060 | |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1061 | config DEBUG_MSM_UART1 |
| 1062 | bool "Kernel low-level debugging messages via MSM UART1" |
Taniya Das | fa4ee7f | 2012-02-21 15:04:51 +0530 | [diff] [blame] | 1063 | depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1064 | help |
| 1065 | Say Y here if you want the debug print routines to direct |
| 1066 | their output to the first serial port on MSM devices. |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1067 | |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1068 | config DEBUG_MSM_UART2 |
| 1069 | bool "Kernel low-level debugging messages via MSM UART2" |
Taniya Das | fa4ee7f | 2012-02-21 15:04:51 +0530 | [diff] [blame] | 1070 | depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 || ARCH_FSM9XXX |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1071 | help |
| 1072 | Say Y here if you want the debug print routines to direct |
| 1073 | their output to the second serial port on MSM devices. |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1074 | |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1075 | config DEBUG_MSM_UART3 |
| 1076 | bool "Kernel low-level debugging messages via MSM UART3" |
Taniya Das | fa4ee7f | 2012-02-21 15:04:51 +0530 | [diff] [blame] | 1077 | depends on ARCH_MSM7X27 || ARCH_MSM7X30 || ARCH_QSD8X50 |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1078 | help |
| 1079 | Say Y here if you want the debug print routines to direct |
| 1080 | their output to the third serial port on MSM devices. |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1081 | |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1082 | config DEBUG_MSM8660_UART |
| 1083 | bool "Kernel low-level debugging messages via MSM 8660 UART" |
| 1084 | depends on ARCH_MSM8X60 |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 1085 | select MSM_HAS_DEBUG_UART_HS |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1086 | help |
| 1087 | Say Y here if you want the debug print routines to direct |
| 1088 | their output to the serial port on MSM 8660 devices. |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 1089 | |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1090 | config DEBUG_MSM8960_UART |
| 1091 | bool "Kernel low-level debugging messages via MSM 8960 UART" |
Stepan Moskovchenko | 824db17 | 2012-05-29 18:05:09 -0700 | [diff] [blame] | 1092 | depends on ARCH_MSM8960 && DEBUG_LL |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 1093 | select MSM_HAS_DEBUG_UART_HS |
Sathish Ambley | bb87d5f | 2011-11-08 15:14:01 -0800 | [diff] [blame] | 1094 | help |
| 1095 | Say Y here if you want the debug print routines to direct |
| 1096 | their output to the serial port on MSM 8960 devices. |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 1097 | |
Stepan Moskovchenko | 824db17 | 2012-05-29 18:05:09 -0700 | [diff] [blame] | 1098 | config DEBUG_MSM8930_UART |
| 1099 | bool "Kernel low-level debugging messages via MSM 8930 UART" |
| 1100 | depends on ARCH_MSM8930 && DEBUG_LL |
| 1101 | select MSM_HAS_DEBUG_UART_HS |
| 1102 | help |
| 1103 | Say Y here if you want the debug print routines to direct |
| 1104 | their output to the serial port on MSM 8930 devices. |
| 1105 | |
| 1106 | config DEBUG_APQ8064_UART |
| 1107 | bool "Kernel low-level debugging messages via APQ 8064 UART" |
| 1108 | depends on ARCH_APQ8064 && DEBUG_LL |
| 1109 | select MSM_HAS_DEBUG_UART_HS |
| 1110 | help |
| 1111 | Say Y here if you want the debug print routines to direct |
| 1112 | their output to the serial port on APQ 8064 devices. |
| 1113 | |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 1114 | config DEBUG_MSM8974_UART |
| 1115 | bool "Kernel low-level debugging messages via MSM 8974 UART" |
| 1116 | depends on ARCH_MSM8974 |
Sathish Ambley | f5bebd6 | 2011-11-03 23:36:36 -0700 | [diff] [blame] | 1117 | select MSM_HAS_DEBUG_UART_HS_V14 |
| 1118 | help |
| 1119 | Say Y here if you want the debug print routines to direct |
Abhimanyu Kapur | 90ced6e | 2012-06-26 17:41:25 -0700 | [diff] [blame] | 1120 | their output to the serial port on MSM 8974 devices. |
Ravi Kumar V | b31dbba | 2012-08-31 22:40:22 +0530 | [diff] [blame] | 1121 | |
| 1122 | config DEBUG_MPQ8092_UART |
| 1123 | bool "Kernel low-level debugging messages via MPQ8092 UART" |
| 1124 | depends on ARCH_MPQ8092 |
| 1125 | select MSM_HAS_DEBUG_UART_HS_V14 |
| 1126 | help |
| 1127 | Say Y here if you want the debug print routines to direct |
| 1128 | their output to the serial port on MPQ8092 devices. |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1129 | endchoice |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1130 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1131 | choice |
| 1132 | prompt "Default Timer" |
| 1133 | default MSM7X00A_USE_GP_TIMER |
| 1134 | |
| 1135 | config MSM7X00A_USE_GP_TIMER |
| 1136 | bool "GP Timer" |
| 1137 | help |
| 1138 | Low resolution timer that allows power collapse from idle. |
| 1139 | |
| 1140 | config MSM7X00A_USE_DG_TIMER |
| 1141 | bool "DG Timer" |
| 1142 | help |
| 1143 | High resolution timer. |
| 1144 | endchoice |
| 1145 | |
| 1146 | choice |
| 1147 | prompt "Suspend sleep mode" |
| 1148 | default MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 1149 | help |
| 1150 | Allows overriding the sleep mode used. Leave at power |
| 1151 | collapse suspend unless the arm9 image has problems. |
| 1152 | |
| 1153 | config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 1154 | bool "Power collapse suspend" |
| 1155 | help |
| 1156 | Lowest sleep state. Returns through reset vector. |
| 1157 | |
| 1158 | config MSM7X00A_SLEEP_MODE_POWER_COLLAPSE |
| 1159 | bool "Power collapse" |
| 1160 | help |
| 1161 | Sleep state that returns through reset vector. |
| 1162 | |
| 1163 | config MSM7X00A_SLEEP_MODE_APPS_SLEEP |
| 1164 | bool "Apps Sleep" |
| 1165 | |
| 1166 | config MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 1167 | bool "Ramp down cpu clock and wait for interrupt" |
| 1168 | |
| 1169 | config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT |
| 1170 | bool "Wait for interrupt" |
| 1171 | endchoice |
| 1172 | |
| 1173 | config MSM7X00A_SLEEP_MODE |
| 1174 | int |
| 1175 | default 0 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 1176 | default 1 if MSM7X00A_SLEEP_MODE_POWER_COLLAPSE |
| 1177 | default 2 if MSM7X00A_SLEEP_MODE_APPS_SLEEP |
| 1178 | default 3 if MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 1179 | default 4 if MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT |
| 1180 | |
| 1181 | choice |
| 1182 | prompt "Idle sleep mode" |
| 1183 | default MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 1184 | help |
| 1185 | Allows overriding the sleep mode used from idle. Leave at power |
| 1186 | collapse suspend unless the arm9 image has problems. |
| 1187 | |
| 1188 | config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 1189 | bool "Power collapse suspend" |
| 1190 | help |
| 1191 | Lowest sleep state. Returns through reset vector. |
| 1192 | |
| 1193 | config MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 1194 | bool "Power collapse" |
| 1195 | help |
| 1196 | Sleep state that returns through reset vector. |
| 1197 | |
| 1198 | config MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP |
| 1199 | bool "Apps Sleep" |
| 1200 | |
| 1201 | config MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 1202 | bool "Ramp down cpu clock and wait for interrupt" |
| 1203 | |
| 1204 | config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT |
| 1205 | bool "Wait for interrupt" |
| 1206 | endchoice |
| 1207 | |
| 1208 | config MSM7X00A_IDLE_SLEEP_MODE |
| 1209 | int |
| 1210 | default 0 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND |
| 1211 | default 1 if MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE |
| 1212 | default 2 if MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP |
| 1213 | default 3 if MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT |
| 1214 | default 4 if MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT |
| 1215 | |
| 1216 | config MSM7X00A_IDLE_SLEEP_MIN_TIME |
| 1217 | int "Minimum idle time before sleep" |
| 1218 | default 20000000 |
| 1219 | help |
| 1220 | Minimum idle time in nanoseconds before entering low power mode. |
| 1221 | |
| 1222 | config MSM7X00A_IDLE_SPIN_TIME |
| 1223 | int "Idle spin time before cpu ramp down" |
| 1224 | default 80000 |
| 1225 | help |
| 1226 | Spin time in nanoseconds before ramping down cpu clock and entering |
| 1227 | any low power state. |
| 1228 | |
| 1229 | menuconfig MSM_IDLE_STATS |
| 1230 | bool "Collect idle statistics" |
| 1231 | default y |
| 1232 | help |
| 1233 | Collect idle statistics and export them in proc/msm_pm_stats. |
| 1234 | |
| 1235 | if MSM_IDLE_STATS |
| 1236 | |
| 1237 | config MSM_IDLE_STATS_FIRST_BUCKET |
| 1238 | int "First bucket time" |
| 1239 | default 62500 |
| 1240 | help |
| 1241 | Upper time limit in nanoseconds of first bucket. |
| 1242 | |
| 1243 | config MSM_IDLE_STATS_BUCKET_SHIFT |
| 1244 | int "Bucket shift" |
| 1245 | default 2 |
| 1246 | |
| 1247 | config MSM_IDLE_STATS_BUCKET_COUNT |
| 1248 | int "Bucket count" |
| 1249 | default 10 |
| 1250 | |
| 1251 | config MSM_SUSPEND_STATS_FIRST_BUCKET |
| 1252 | int "First bucket time for suspend" |
| 1253 | default 1000000000 |
| 1254 | help |
| 1255 | Upper time limit in nanoseconds of first bucket of the |
| 1256 | histogram. This is for collecting statistics on suspend. |
| 1257 | |
| 1258 | endif # MSM_IDLE_STATS |
| 1259 | |
| 1260 | config CPU_HAS_L2_PMU |
| 1261 | bool "L2CC PMU Support" |
| 1262 | help |
| 1263 | Select this if the L2 cache controller has a Performance Monitoring Unit. |
| 1264 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1265 | config HTC_HEADSET |
| 1266 | tristate "HTC 2 Wire detection driver" |
| 1267 | default n |
| 1268 | help |
| 1269 | Provides support for detecting HTC 2 wire devices, such as wired |
| 1270 | headset, on the trout platform. Can be used with the msm serial |
| 1271 | debugger, but not with serial console. |
| 1272 | |
| 1273 | config TROUT_BATTCHG |
| 1274 | depends on MACH_TROUT && POWER_SUPPLY |
| 1275 | default y |
| 1276 | bool "Trout battery / charger driver" |
| 1277 | |
| 1278 | config HTC_PWRSINK |
| 1279 | depends on MSM_SMD |
| 1280 | default n |
| 1281 | bool "HTC Power Sink Driver" |
| 1282 | |
| 1283 | config QSD_SVS |
| 1284 | bool "QSD Static Voltage Scaling" |
| 1285 | depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA) |
| 1286 | default y |
| 1287 | select TPS65023 |
| 1288 | help |
| 1289 | Enables static voltage scaling using the TPS65023 PMIC. |
| 1290 | |
| 1291 | config QSD_PMIC_DEFAULT_DCDC1 |
| 1292 | int "PMIC default output voltage" |
| 1293 | depends on (MACH_QSD8X50_SURF || MACH_QSD8X50_FFA) |
| 1294 | default 1250 |
| 1295 | help |
| 1296 | This is the PMIC voltage at Linux kernel boot. |
| 1297 | |
| 1298 | config MSM_FIQ_SUPPORT |
| 1299 | default y |
| 1300 | bool "Enable installation of an FIQ handler." |
| 1301 | |
| 1302 | config MSM_SERIAL_DEBUGGER |
| 1303 | select MSM_FIQ_SUPPORT |
| 1304 | select KERNEL_DEBUGGER_CORE |
| 1305 | default n |
| 1306 | bool "FIQ Mode Serial Debugger" |
| 1307 | help |
| 1308 | The FIQ serial debugger can accept commands even when the |
| 1309 | kernel is unresponsive due to being stuck with interrupts |
| 1310 | disabled. Depends on the kernel debugger core in drivers/misc. |
| 1311 | |
| 1312 | config MSM_SERIAL_DEBUGGER_CONSOLE |
| 1313 | depends on MSM_SERIAL_DEBUGGER |
| 1314 | default n |
| 1315 | bool "Console on FIQ Serial Debugger port" |
| 1316 | help |
| 1317 | Enables a console so that printk messages are displayed on |
| 1318 | the debugger serial port as the occur. |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 1319 | |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 1320 | config MSM_PROC_COMM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1321 | default y |
| 1322 | bool "Proc-Comm RPC Interface" |
| 1323 | help |
| 1324 | Enables a lightweight communications interface to the |
| 1325 | baseband processor. |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 1326 | |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 1327 | config MSM_SMD |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1328 | bool "MSM Shared Memory Driver (SMD)" |
| 1329 | help |
| 1330 | Support for the shared memory interface between the apps |
| 1331 | processor and the baseband processor. Provides access to |
| 1332 | the "shared heap", as well as virtual serial channels |
| 1333 | used to communicate with various services on the baseband |
| 1334 | processor. |
| 1335 | |
| 1336 | choice |
| 1337 | prompt "MSM Shared memory interface version" |
| 1338 | depends on MSM_SMD |
| 1339 | default MSM_SMD_PKG3 if ARCH_MSM_ARM11 |
| 1340 | default MSM_SMD_PKG4 if ARCH_MSM_SCORPION |
| 1341 | |
| 1342 | config MSM_SMD_PKG3 |
| 1343 | bool |
| 1344 | prompt "Package 3" |
| 1345 | |
| 1346 | config MSM_SMD_PKG4 |
| 1347 | bool |
| 1348 | prompt "Package 4" |
| 1349 | endchoice |
| 1350 | |
Niranjana Vishwanathapura | f1427ac | 2012-05-03 14:28:21 -0600 | [diff] [blame] | 1351 | config MSM_PCIE |
| 1352 | bool "MSM PCIe Controller driver" |
| 1353 | depends on PCI && PCI_MSI |
| 1354 | help |
| 1355 | Enables the PCIe functionality by configures PCIe core on |
| 1356 | MSM chipset and by enabling the ARM PCI framework extension. |
| 1357 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1358 | config MSM_RPC_SDIO_XPRT |
| 1359 | depends on MSM_SDIO_AL |
| 1360 | default y |
| 1361 | bool "MSM SDIO XPRT Layer" |
| 1362 | help |
| 1363 | SDIO Transport Layer for RPC Rouer |
| 1364 | |
| 1365 | config MSM_RPC_SDIO_DEBUG |
| 1366 | depends on MSM_RPC_SDIO_XPRT |
| 1367 | default y |
| 1368 | bool "MSM SDIO XPRT debug support" |
| 1369 | help |
| 1370 | Support for debugging SDIO XPRT |
| 1371 | |
| 1372 | config MSM_SMD_DEBUG |
| 1373 | depends on MSM_SMD |
| 1374 | default y |
| 1375 | bool "MSM SMD debug support" |
| 1376 | help |
| 1377 | Support for debugging the SMD for communication |
| 1378 | between the ARM9 and ARM11 |
| 1379 | |
| 1380 | config MSM_SDIO_AL |
| 1381 | depends on ((ARCH_MSM7X30 || MACH_MSM8X60_FUSN_FFA || MACH_TYPE_MSM8X60_FUSION) && HAS_WAKELOCK) |
| 1382 | default y |
| 1383 | tristate "SDIO-Abstraction-Layer" |
| 1384 | help |
| 1385 | Support MSM<->MDM Communication over SDIO bus. |
| 1386 | MDM SDIO-Client should have pipes support. |
| 1387 | |
| 1388 | config MSM_SDIO_DMUX |
| 1389 | bool "SDIO Data Mux Driver" |
| 1390 | depends on MSM_SDIO_AL |
| 1391 | default n |
| 1392 | help |
| 1393 | Support Muxed Data Channels over SDIO interface. |
| 1394 | |
| 1395 | config MSM_BAM_DMUX |
| 1396 | bool "BAM Data Mux Driver" |
| 1397 | depends on SPS |
| 1398 | default n |
| 1399 | help |
| 1400 | Support Muxed Data Channels over BAM interface. |
| 1401 | BAM has a limited number of pipes. This driver |
| 1402 | provides a means to support more logical channels |
| 1403 | via muxing than BAM could without muxing. |
| 1404 | |
| 1405 | config MSM_N_WAY_SMD |
Jeff Hugo | 0c0f5e9 | 2011-09-28 13:55:45 -0600 | [diff] [blame] | 1406 | depends on (MSM_SMD && !(ARCH_MSM7X01A)) |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1407 | default y |
| 1408 | bool "MSM N-WAY SMD support" |
| 1409 | help |
| 1410 | Supports APPS-QDSP SMD communication along with |
| 1411 | normal APPS-MODEM SMD communication. |
| 1412 | |
| 1413 | config MSM_N_WAY_SMSM |
Jeff Hugo | 0c0f5e9 | 2011-09-28 13:55:45 -0600 | [diff] [blame] | 1414 | depends on (MSM_SMD && !(ARCH_MSM7X01A)) |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1415 | default y |
| 1416 | bool "MSM N-WAY SMSM support" |
| 1417 | help |
| 1418 | Supports APPS-QDSP SMSM communication along with |
| 1419 | normal APPS-MODEM SMSM communication. |
| 1420 | |
| 1421 | config MSM_RESET_MODEM |
| 1422 | tristate "Reset Modem Driver" |
| 1423 | depends on MSM_SMD |
| 1424 | default m |
| 1425 | help |
| 1426 | Allows the user to reset the modem through a device node. |
| 1427 | |
| 1428 | config MSM_SMD_LOGGING |
| 1429 | depends on MSM_SMD |
| 1430 | default y |
| 1431 | bool "MSM Shared Memory Logger" |
| 1432 | help |
| 1433 | This option exposes the shared memory logger at /dev/smem_log |
| 1434 | and a debugfs node named smem_log. |
| 1435 | |
| 1436 | If in doubt, say yes. |
| 1437 | |
Karthikeyan Ramasubramanian | e1f4f73 | 2011-08-08 13:34:47 -0600 | [diff] [blame] | 1438 | config MSM_IPC_LOGGING |
| 1439 | bool "MSM Debug Logging for IPC Drivers" |
| 1440 | help |
| 1441 | This option allows the debug logging for IPC Drivers. |
| 1442 | |
| 1443 | If in doubt, say no. |
| 1444 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1445 | config MSM_SMD_NMEA |
| 1446 | bool "NMEA GPS Driver" |
| 1447 | depends on MSM_SMD |
| 1448 | default y |
| 1449 | help |
| 1450 | Enable this to support the NMEA GPS device. |
| 1451 | |
| 1452 | If in doubt, say yes. |
| 1453 | |
| 1454 | config MSM_SDIO_TTY |
| 1455 | bool "SDIO TTY Driver" |
| 1456 | depends on MSM_SDIO_AL |
| 1457 | default n |
| 1458 | help |
| 1459 | Provides a TTY driver SDIO TTY |
| 1460 | This driver can be used by user space |
| 1461 | applications for passing data through the |
| 1462 | SDIO interface. |
| 1463 | |
| 1464 | config MSM_SMD_TTY |
| 1465 | bool "SMD TTY Driver" |
| 1466 | depends on MSM_SMD |
| 1467 | default y |
| 1468 | help |
| 1469 | Provides TTY interfaces to interact with the modem. |
| 1470 | |
| 1471 | If in doubt, say yes. |
| 1472 | |
| 1473 | config MSM_SMD_QMI |
| 1474 | bool "SMD QMI Driver" |
| 1475 | depends on MSM_SMD |
| 1476 | default y |
| 1477 | help |
| 1478 | Manages network data connections. |
| 1479 | |
| 1480 | If in doubt, say yes. |
| 1481 | |
| 1482 | config MSM_SMD_PKT |
| 1483 | bool "SMD Packet Driver" |
| 1484 | depends on MSM_SMD |
| 1485 | default y |
| 1486 | help |
| 1487 | Provides a binary SMD non-muxed packet port interface. |
| 1488 | |
| 1489 | If in doubt, say yes. |
| 1490 | |
| 1491 | config MSM_SDIO_CMUX |
| 1492 | bool "SDIO CMUX Driver" |
| 1493 | depends on MSM_SDIO_AL |
| 1494 | default n |
| 1495 | help |
| 1496 | Provides a Muxed port interface over SDIO QMI |
| 1497 | |
| 1498 | config MSM_DSPS |
| 1499 | bool "Sensors DSPS driver" |
| 1500 | depends on (MSM_PIL && (ARCH_MSM8X60 || ARCH_MSM8960)) |
| 1501 | default n |
| 1502 | help |
| 1503 | Provides user-space interface to the sensors manager |
| 1504 | to turn on/off the Sensors Processor system clocks. |
| 1505 | It is the DSPS responsibility to turn on/off the sensors |
| 1506 | themself. |
| 1507 | The number of clocks and their name may vary between targets. |
| 1508 | It also triggers the PIL to load the DSPS firmware. |
| 1509 | |
| 1510 | config MSM_SDIO_CTL |
| 1511 | bool "SDIO CTL Driver" |
| 1512 | depends on MSM_SDIO_CMUX |
| 1513 | default n |
| 1514 | help |
| 1515 | Provides a binary SDIO control port interface. |
| 1516 | |
| 1517 | config MSM_ONCRPCROUTER |
| 1518 | depends on MSM_SMD |
| 1519 | default n |
| 1520 | bool "MSM ONCRPC router support" |
| 1521 | help |
| 1522 | Support for the MSM ONCRPC router for communication between |
| 1523 | the ARM9 and ARM11 |
| 1524 | |
| 1525 | config MSM_IPC_ROUTER |
Karthikeyan Ramasubramanian | da45b43 | 2011-09-23 14:39:30 -0600 | [diff] [blame] | 1526 | depends on NET |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1527 | default n |
| 1528 | bool "MSM IPC Router support" |
| 1529 | help |
| 1530 | Support for the MSM IPC Router for communication between |
| 1531 | the APPs and the MODEM |
| 1532 | |
Karthikeyan Ramasubramanian | da45b43 | 2011-09-23 14:39:30 -0600 | [diff] [blame] | 1533 | config MSM_IPC_ROUTER_SMD_XPRT |
| 1534 | depends on MSM_SMD |
| 1535 | depends on MSM_IPC_ROUTER |
| 1536 | default n |
| 1537 | bool "MSM SMD XPRT Layer" |
| 1538 | help |
| 1539 | SMD Transport Layer for IPC Router |
| 1540 | |
Karthikeyan Ramasubramanian | fec77ff | 2012-10-26 20:03:26 -0600 | [diff] [blame] | 1541 | config MSM_QMI_INTERFACE |
| 1542 | depends on MSM_IPC_ROUTER |
| 1543 | depends on QMI_ENCDEC |
| 1544 | default n |
| 1545 | bool "MSM QMI Interface Library" |
| 1546 | help |
| 1547 | Library to send and receive QMI messages over IPC Router. |
| 1548 | This library provides interface functions to the kernel drivers |
| 1549 | to perform QMI message marshaling and transport them over IPC |
| 1550 | Router. |
| 1551 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1552 | config MSM_ONCRPCROUTER_DEBUG |
| 1553 | depends on MSM_ONCRPCROUTER |
| 1554 | default y |
| 1555 | bool "MSM debug ONCRPC router support" |
| 1556 | help |
| 1557 | Support for debugging the ONCRPC router for communication |
| 1558 | between the ARM9 and ARM11 |
| 1559 | |
| 1560 | config MSM_RPC_LOOPBACK_XPRT |
| 1561 | depends on MSM_ONCRPCROUTER |
| 1562 | default n |
| 1563 | bool "MSM RPC local routing support" |
| 1564 | help |
| 1565 | Support for routing RPC messages between APPS clients |
| 1566 | and APPS servers. Helps in testing APPS RPC framework. |
| 1567 | |
| 1568 | config MSM_RPCSERVER_TIME_REMOTE |
| 1569 | depends on MSM_ONCRPCROUTER && RTC_HCTOSYS |
| 1570 | default y |
| 1571 | bool "Time remote RPC server" |
| 1572 | help |
| 1573 | The time remote server receives notification of time bases and |
| 1574 | reports these events to registered callback functions. |
| 1575 | |
| 1576 | config MSM_RPCSERVER_WATCHDOG |
| 1577 | depends on MSM_ONCRPCROUTER |
| 1578 | default y |
| 1579 | bool "Watchdog RPC server" |
| 1580 | help |
| 1581 | The dog_keepalive server handles watchdog events. |
| 1582 | |
| 1583 | config MSM_RPC_WATCHDOG |
| 1584 | depends on MSM_ONCRPCROUTER |
| 1585 | default n |
| 1586 | bool "Watchdog RPC client" |
| 1587 | help |
| 1588 | The dog_keepalive client module. |
| 1589 | |
| 1590 | config MSM_RPC_PING |
| 1591 | depends on MSM_ONCRPCROUTER && DEBUG_FS |
| 1592 | default m |
| 1593 | bool "MSM rpc ping" |
| 1594 | help |
| 1595 | Implements MSM rpc ping test module. |
| 1596 | |
| 1597 | config MSM_RPC_PROC_COMM_TEST |
| 1598 | depends on DEBUG_FS && MSM_PROC_COMM |
| 1599 | default m |
| 1600 | bool "MSM rpc proc comm test" |
| 1601 | help |
| 1602 | Implements MSM rpc proc comm test module. |
| 1603 | |
| 1604 | config MSM_RPC_OEM_RAPI |
| 1605 | depends on MSM_ONCRPCROUTER |
| 1606 | default m |
| 1607 | bool "MSM oem rapi" |
| 1608 | help |
| 1609 | Implements MSM oem rapi client module. |
| 1610 | |
| 1611 | config MSM_RPCSERVER_HANDSET |
| 1612 | depends on MSM_ONCRPCROUTER |
| 1613 | default y |
| 1614 | bool "Handset events RPC server" |
| 1615 | help |
| 1616 | Support for receiving handset events like headset detect, |
| 1617 | headset switch and clamshell state. |
| 1618 | |
| 1619 | config MSM_RMT_STORAGE_CLIENT |
| 1620 | depends on (ARCH_MSM && MSM_ONCRPCROUTER) |
| 1621 | default n |
| 1622 | bool "Remote Storage RPC client" |
| 1623 | help |
| 1624 | Provide RPC mechanism for remote processors to access storage |
| 1625 | device on apps processor. |
| 1626 | |
| 1627 | config MSM_RMT_STORAGE_CLIENT_STATS |
| 1628 | depends on (MSM_RMT_STORAGE_CLIENT && DEBUG_FS) |
| 1629 | default n |
| 1630 | bool "Remote storage RPC client performance statistics" |
| 1631 | help |
| 1632 | Collects performance statistics and shows this information |
| 1633 | through a debugfs file rmt_storage_stats. |
| 1634 | |
| 1635 | config MSM_SDIO_SMEM |
| 1636 | depends on MSM_SDIO_AL |
| 1637 | default n |
| 1638 | bool "SDIO SMEM for remote storage" |
| 1639 | help |
| 1640 | Copies data from remote MDM9K memory to local MSM8x60 |
| 1641 | memory. Used by remote storage client to shadow |
| 1642 | MDM9K filesystem. |
| 1643 | |
| 1644 | config MSM_DALRPC |
| 1645 | bool "DAL RPC support" |
Bryan Huntsman | 18b3c0c | 2011-11-23 15:12:58 -0800 | [diff] [blame] | 1646 | default n |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1647 | help |
| 1648 | Supports RPC calls to DAL devices on remote processor cores. |
| 1649 | |
| 1650 | config MSM_DALRPC_TEST |
| 1651 | tristate "DAL RPC test module" |
| 1652 | depends on (MSM_DALRPC && DEBUG_FS) |
| 1653 | default m |
| 1654 | help |
| 1655 | Exercises DAL RPC calls to QDSP6. |
| 1656 | |
| 1657 | if CPU_FREQ_MSM |
| 1658 | |
| 1659 | config MSM_CPU_FREQ_SET_MIN_MAX |
| 1660 | bool "Set Min/Max CPU frequencies." |
| 1661 | default n |
| 1662 | help |
| 1663 | Allow setting min and max CPU frequencies. Sysfs can be used |
| 1664 | to override these values. |
| 1665 | |
| 1666 | config MSM_CPU_FREQ_MAX |
| 1667 | int "Max CPU Frequency" |
| 1668 | depends on MSM_CPU_FREQ_SET_MIN_MAX |
| 1669 | default 384000 |
| 1670 | |
| 1671 | config MSM_CPU_FREQ_MIN |
| 1672 | int "Min CPU Frequency" |
| 1673 | depends on MSM_CPU_FREQ_SET_MIN_MAX |
| 1674 | default 245760 |
| 1675 | |
| 1676 | endif # CPU_FREQ_MSM |
| 1677 | |
| 1678 | config MSM_CPU_AVS |
| 1679 | bool "Enable software controlled Adaptive Voltage Scaling (AVS)" |
| 1680 | depends on (ARCH_MSM_SCORPION && QSD_SVS) |
| 1681 | depends on ARCH_QSD8X50 |
| 1682 | default n |
| 1683 | select MSM_AVS_HW |
| 1684 | help |
| 1685 | This enables the s/w control of Adaptive Voltage Scaling feature |
| 1686 | in Qualcomm ARMv7 CPUs. It adjusts the voltage for each frequency |
| 1687 | based on feedback from three ring oscillators in the CPU. |
| 1688 | |
| 1689 | config MSM_AVS_HW |
| 1690 | bool "Enable Adaptive Voltage Scaling (AVS)" |
| 1691 | default n |
| 1692 | help |
| 1693 | Enable AVS hardware to fine tune voltage at each frequency. The |
| 1694 | AVS hardware blocks associated with each Qualcomm ARMv7 cores can |
| 1695 | fine tune the voltages based on the feedback from the ring |
| 1696 | oscillators. |
| 1697 | |
| 1698 | config MSM_HW3D |
| 1699 | tristate "MSM Hardware 3D Register Driver" |
| 1700 | depends on ANDROID_PMEM |
| 1701 | default y |
| 1702 | help |
| 1703 | Provides access to registers needed by the userspace OpenGL|ES |
| 1704 | library. |
| 1705 | |
| 1706 | config MSM_ADSP |
| 1707 | depends on (ARCH_MSM7X01A || ARCH_MSM7X25 || ARCH_MSM7X27) |
| 1708 | tristate "MSM ADSP driver" |
| 1709 | depends on ANDROID_PMEM |
| 1710 | default y |
| 1711 | help |
| 1712 | Provides access to registers needed by the userspace aDSP library. |
| 1713 | |
| 1714 | config ADSP_RPC_VER |
| 1715 | hex |
| 1716 | default 0x30002 if (ARCH_MSM7X27 || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2009)) |
| 1717 | default 0x30001 if (ARCH_MSM7X01A || (ARCH_MSM7X25 && AMSS_7X25_VERSION_2008)) |
| 1718 | depends on MSM_ADSP |
| 1719 | help |
| 1720 | Select proper ADSP RPC version |
| 1721 | choice |
| 1722 | prompt "ADSP RPC version" |
| 1723 | |
| 1724 | default AMSS_7X25_VERSION_2009 |
| 1725 | |
| 1726 | config AMSS_7X25_VERSION_2009 |
| 1727 | bool "2.0.09" |
| 1728 | |
| 1729 | config AMSS_7X25_VERSION_2008 |
| 1730 | bool "2.0.08" |
| 1731 | endchoice |
| 1732 | |
| 1733 | config MSM7KV2_AUDIO |
| 1734 | bool "MSM7K v2 audio" |
| 1735 | depends on (ARCH_MSM7X30 && ANDROID_PMEM) |
| 1736 | default y |
| 1737 | help |
| 1738 | Enables QDSP5V2-based audio drivers for audio playbacks and |
| 1739 | voice call. |
| 1740 | |
| 1741 | config MSM_ADSP_REPORT_EVENTS |
| 1742 | bool "Report modem events from the DSP" |
| 1743 | default y |
| 1744 | depends on (MSM_ADSP || MSM7KV2_AUDIO) |
| 1745 | help |
| 1746 | Normally, only messages from the aDSP are reported to userspace. |
| 1747 | With this option, we report events from the aDSP as well. |
| 1748 | |
| 1749 | config MSM_QDSP6 |
| 1750 | tristate "QDSP6 support" |
| 1751 | depends on ARCH_QSD8X50 && ANDROID_PMEM |
| 1752 | default y |
| 1753 | help |
| 1754 | Enable support for qdsp6. This provides audio and video functionality. |
| 1755 | |
| 1756 | config MSM8X60_AUDIO |
| 1757 | tristate "MSM8X60 audio support" |
| 1758 | depends on ARCH_MSM8X60 && ANDROID_PMEM |
| 1759 | default y |
| 1760 | help |
| 1761 | Enable support for qdsp6v2. This provides audio functionality. |
| 1762 | |
| 1763 | config MSM8X60_FTM_AUDIO_DEVICES |
| 1764 | bool "MSM8X60 audio factory test mode support" |
| 1765 | depends on MSM8X60_AUDIO |
| 1766 | help |
| 1767 | Enable support audio factory test mode devices. This is used |
| 1768 | in a production line environment. |
| 1769 | |
Ben Romberger | 45b351c | 2011-07-20 22:37:27 -0700 | [diff] [blame] | 1770 | config RTAC |
| 1771 | bool "MSM8K real-time audio calibration support" |
| 1772 | default y |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1773 | help |
Ben Romberger | 45b351c | 2011-07-20 22:37:27 -0700 | [diff] [blame] | 1774 | Enable support for rtac. This enables calibration during |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1775 | audio operation |
| 1776 | |
| 1777 | config MSM7X27A_AUDIO |
| 1778 | bool "MSM7X27A audio support" |
| 1779 | depends on ARCH_MSM7X27A && MSM_ADSP |
| 1780 | default n |
| 1781 | help |
| 1782 | Enable support for 7x27a. This provides audio functionality. |
| 1783 | |
Justin Paupore | a6cd209 | 2011-06-22 16:19:45 -0700 | [diff] [blame] | 1784 | config MSM_PROC_COMM_REGULATOR |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 1785 | bool |
Justin Paupore | a6cd209 | 2011-06-22 16:19:45 -0700 | [diff] [blame] | 1786 | depends on MSM_PROC_COMM && REGULATOR |
| 1787 | help |
| 1788 | Enable regulator framework support for regulators managed by PMLIB |
| 1789 | on the modem, and controlled through proccomm calls. |
| 1790 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1791 | config MSM_VREG_SWITCH_INVERTED |
| 1792 | bool "Reverse vreg switch polarity" |
| 1793 | default n |
| 1794 | help |
| 1795 | Reverses the enable and disable for vreg switch. |
| 1796 | |
| 1797 | config MSM_DMA_TEST |
| 1798 | tristate "MSM DMA test module" |
| 1799 | default m |
| 1800 | help |
| 1801 | Intended to be compiled as a module. Provides a device node |
| 1802 | and ioctls for testing the MSM dma system. |
| 1803 | |
| 1804 | config WIFI_CONTROL_FUNC |
| 1805 | bool "Enable WiFi control function abstraction" |
| 1806 | help |
| 1807 | Enables Power/Reset/Carddetect function abstraction |
| 1808 | |
| 1809 | config WIFI_MEM_PREALLOC |
| 1810 | depends on WIFI_CONTROL_FUNC |
| 1811 | bool "Preallocate memory for WiFi buffers" |
| 1812 | help |
| 1813 | Preallocates memory buffers for WiFi driver |
| 1814 | |
| 1815 | config QSD_AUDIO |
| 1816 | bool "QSD audio" |
| 1817 | depends on ARCH_MSM_SCORPION && MSM_DALRPC && ANDROID_PMEM && !MSM_SMP |
| 1818 | default y |
| 1819 | help |
| 1820 | Provides PCM, MP3, and AAC audio playback. |
| 1821 | |
| 1822 | config AUDIO_AAC_PLUS |
| 1823 | depends on (MSM_ADSP || QSD_AUDIO || MSM7KV2_AUDIO) |
| 1824 | bool "AAC+ Audio" |
| 1825 | default y |
| 1826 | help |
| 1827 | Provides AAC+ decoding |
| 1828 | |
| 1829 | config AUDIO_ENHANCED_AAC_PLUS |
| 1830 | depends on AUDIO_AAC_PLUS |
| 1831 | bool "Enhanced AAC+ Audio" |
| 1832 | default y |
| 1833 | help |
| 1834 | Provides Enhanced AAC+ decoding |
| 1835 | |
| 1836 | config SURF_FFA_GPIO_KEYPAD |
| 1837 | bool "MSM SURF/FFA GPIO keypad" |
| 1838 | depends on INPUT_GPIO = "y" |
| 1839 | default y |
| 1840 | help |
| 1841 | Select if the GPIO keypad is attached. |
| 1842 | |
| 1843 | config MSM_SLEEP_TIME_OVERRIDE |
| 1844 | bool "Allow overriding suspend/sleep time with PM module parameter" |
| 1845 | default y |
| 1846 | help |
| 1847 | Enable the module parameter sleep_time_override. Specified |
| 1848 | in units of seconds, it overwrites the normal sleep time of |
| 1849 | suspend. The feature is required for automated power management |
| 1850 | testing. |
| 1851 | |
| 1852 | config MSM_MEMORY_LOW_POWER_MODE |
| 1853 | bool "Control the low power modes of memory" |
| 1854 | default n |
| 1855 | help |
| 1856 | The application processor controls whether memory should enter |
| 1857 | which low power mode. |
| 1858 | |
| 1859 | choice |
| 1860 | prompt "Default Memory Low Power Mode during Idle" |
| 1861 | depends on MSM_MEMORY_LOW_POWER_MODE |
| 1862 | default MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE |
| 1863 | help |
| 1864 | Selects the default low power mode of the memory during idle |
| 1865 | sleep. |
| 1866 | |
| 1867 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_ACTIVE |
| 1868 | bool "Memory active" |
| 1869 | |
| 1870 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_RETENTION |
| 1871 | bool "Memory in retention" |
| 1872 | |
| 1873 | config MSM_MEMORY_LOW_POWER_MODE_IDLE_DEEP_POWER_DOWN |
| 1874 | bool "Memory in deep power down" |
| 1875 | endchoice |
| 1876 | |
| 1877 | choice |
| 1878 | prompt "Default Memory Low Power Mode during Suspend" |
| 1879 | depends on MSM_MEMORY_LOW_POWER_MODE |
| 1880 | default MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE |
| 1881 | help |
| 1882 | Selects the default low power mode of the memory during suspend |
| 1883 | sleep. |
| 1884 | |
| 1885 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_ACTIVE |
| 1886 | bool "Memory active" |
| 1887 | |
| 1888 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_RETENTION |
| 1889 | bool "Memory in retention" |
| 1890 | |
| 1891 | config MSM_MEMORY_LOW_POWER_MODE_SUSPEND_DEEP_POWER_DOWN |
| 1892 | bool "Memory in deep power down" |
| 1893 | endchoice |
| 1894 | |
| 1895 | choice |
| 1896 | prompt "Power management timeout action" |
| 1897 | default MSM_PM_TIMEOUT_HALT |
| 1898 | help |
| 1899 | Selects the Application Processor's action when Power Management |
| 1900 | times out waiting for Modem's handshake. |
| 1901 | |
| 1902 | config MSM_PM_TIMEOUT_HALT |
| 1903 | bool "Halt the Application Processor" |
| 1904 | |
| 1905 | config MSM_PM_TIMEOUT_RESET_MODEM |
| 1906 | bool "Reset the Modem Processor" |
| 1907 | |
| 1908 | config MSM_PM_TIMEOUT_RESET_CHIP |
| 1909 | bool "Reset the entire chip" |
| 1910 | endchoice |
| 1911 | |
| 1912 | config MSM_IDLE_WAIT_ON_MODEM |
| 1913 | int "Wait for Modem to become ready for idle power collapse" |
| 1914 | default 0 |
| 1915 | help |
| 1916 | If Modem is not ready to handle Application Processor's request |
| 1917 | for idle power collapse, wait the number of microseconds in case |
| 1918 | Modem becomes ready soon. |
| 1919 | |
Matt Wagantall | 9274df9 | 2011-12-15 11:11:05 -0800 | [diff] [blame] | 1920 | config MSM_RPM_REGULATOR |
| 1921 | bool "RPM regulator driver" |
Matt Wagantall | 32dc71e | 2012-01-04 11:13:11 -0800 | [diff] [blame] | 1922 | depends on MSM_RPM && REGULATOR |
Matt Wagantall | 9274df9 | 2011-12-15 11:11:05 -0800 | [diff] [blame] | 1923 | help |
| 1924 | Compile in support for the RPM regulator driver, used for setting |
| 1925 | voltages and other parameters of the various power rails supplied |
| 1926 | by some Qualcomm PMICs. |
| 1927 | |
David Collins | c764232 | 2012-04-04 10:19:12 -0700 | [diff] [blame] | 1928 | config MSM_RPM_REGULATOR_SMD |
| 1929 | bool "SMD RPM regulator driver" |
| 1930 | depends on REGULATOR |
| 1931 | depends on OF |
| 1932 | depends on MSM_RPM_SMD |
| 1933 | help |
| 1934 | Compile in support for the SMD RPM regulator driver which is used for |
| 1935 | setting voltages and other parameters of the various power rails |
| 1936 | supplied by some Qualcomm PMICs. The SMD RPM regulator driver should |
| 1937 | be used on systems which contain an RPM which communicates with the |
| 1938 | application processor over SMD. |
| 1939 | |
Stephen Boyd | 0171058 | 2012-07-09 13:40:05 -0700 | [diff] [blame] | 1940 | config MSM_SUBSYSTEM_RESTART |
| 1941 | bool "MSM Subsystem Restart" |
| 1942 | help |
| 1943 | This option enables the MSM subsystem restart framework. |
| 1944 | |
| 1945 | The MSM subsystem restart framework provides support to boot, |
| 1946 | shutdown, and restart subsystems with a reference counted API. |
| 1947 | It also notifies userspace of transitions between these states via |
| 1948 | sysfs. |
| 1949 | |
| 1950 | config MSM_SYSMON_COMM |
| 1951 | bool "MSM System Monitor communication support" |
| 1952 | depends on MSM_SMD && MSM_SUBSYSTEM_RESTART |
| 1953 | help |
| 1954 | This option adds support for MSM System Monitor library, which |
| 1955 | provides an API that may be used for notifying subsystems within |
| 1956 | the SoC about other subsystems' power-up/down state-changes. |
| 1957 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1958 | config MSM_PIL |
| 1959 | bool "Peripheral image loading" |
| 1960 | select FW_LOADER |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1961 | default n |
| 1962 | help |
| 1963 | Some peripherals need to be loaded into memory before they can be |
| 1964 | brought out of reset. |
| 1965 | |
| 1966 | Say yes to support these devices. |
| 1967 | |
Stephen Boyd | 4eb885b | 2011-09-29 01:16:03 -0700 | [diff] [blame] | 1968 | config MSM_PIL_MODEM |
| 1969 | tristate "Modem (ARM11) Boot Support" |
Stephen Boyd | 3ac2073 | 2012-05-03 18:46:08 -0700 | [diff] [blame] | 1970 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Stephen Boyd | 4eb885b | 2011-09-29 01:16:03 -0700 | [diff] [blame] | 1971 | help |
| 1972 | Support for booting and shutting down ARM11 Modem processors. |
| 1973 | |
Stephen Boyd | 3acc9e4 | 2011-09-28 16:46:40 -0700 | [diff] [blame] | 1974 | config MSM_PIL_QDSP6V3 |
| 1975 | tristate "QDSP6v3 (Hexagon) Boot Support" |
Stephen Boyd | 2e19d93 | 2012-05-09 17:36:04 -0700 | [diff] [blame] | 1976 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Stephen Boyd | 3acc9e4 | 2011-09-28 16:46:40 -0700 | [diff] [blame] | 1977 | help |
| 1978 | Support for booting and shutting down QDSP6v3 processors (hexagon). |
| 1979 | The QDSP6 is a low power DSP used in audio software applications. |
| 1980 | |
Stephen Boyd | bdb53f3 | 2012-06-05 18:39:47 -0700 | [diff] [blame] | 1981 | config MSM_PIL_LPASS_QDSP6V4 |
| 1982 | tristate "LPASS QDSP6v4 (Hexagon) Boot Support" |
Stephen Boyd | a1cf76b | 2012-06-13 12:05:35 -0700 | [diff] [blame] | 1983 | depends on MSM_SUBSYSTEM_RESTART |
Stephen Boyd | eb81988 | 2011-08-29 14:46:30 -0700 | [diff] [blame] | 1984 | help |
Stephen Boyd | bdb53f3 | 2012-06-05 18:39:47 -0700 | [diff] [blame] | 1985 | Support for booting and shutting down QDSP6v4 processors (hexagon) |
| 1986 | in low power audio subsystems. If you would like to record or |
| 1987 | play audio then say Y here. |
| 1988 | |
| 1989 | If unsure, say N. |
| 1990 | |
| 1991 | config MSM_PIL_MODEM_QDSP6V4 |
| 1992 | tristate "Modem QDSP6v4 (Hexagon) Boot Support" |
Stephen Boyd | 2efa996 | 2012-06-12 14:20:12 -0700 | [diff] [blame] | 1993 | depends on MSM_SUBSYSTEM_RESTART |
Stephen Boyd | bdb53f3 | 2012-06-05 18:39:47 -0700 | [diff] [blame] | 1994 | help |
| 1995 | Support for booting and shutting down QDSP6v4 processors (hexagon) |
| 1996 | in modem subsystems. If you would like to make or receive phone |
| 1997 | calls then say Y here. |
| 1998 | |
| 1999 | If unsure, say N. |
Stephen Boyd | eb81988 | 2011-08-29 14:46:30 -0700 | [diff] [blame] | 2000 | |
Matt Wagantall | c2bbdc3 | 2012-03-21 19:44:50 -0700 | [diff] [blame] | 2001 | config MSM_PIL_LPASS_QDSP6V5 |
Stephen Boyd | 633eb62 | 2012-06-13 12:05:35 -0700 | [diff] [blame] | 2002 | tristate "LPASS QDSP6v5 (Hexagon) Boot Support" |
| 2003 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
| 2004 | help |
| 2005 | Support for booting and shutting down QDSP6v5 (Hexagon) processors |
| 2006 | in low power audio subsystems. This driver also monitors the ADSP |
| 2007 | SMSM status bits and the ADSP's watchdog interrupt and restarts the |
| 2008 | ADSP if the processor encounters a fatal error. |
Matt Wagantall | 4e2599e | 2012-03-21 22:31:35 -0700 | [diff] [blame] | 2009 | |
| 2010 | config MSM_PIL_MSS_QDSP6V5 |
Stephen Boyd | 3da4fd0 | 2012-07-06 10:00:12 -0700 | [diff] [blame] | 2011 | tristate "MSS QDSP6v5 (Hexagon) Boot Support" |
| 2012 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Matt Wagantall | e6e00d5 | 2012-03-08 17:39:07 -0800 | [diff] [blame] | 2013 | help |
Stephen Boyd | 3da4fd0 | 2012-07-06 10:00:12 -0700 | [diff] [blame] | 2014 | Support for booting and shutting down QDSP6v5 (Hexagon) processors |
| 2015 | in modem subsystems. If you would like to make or receive phone |
| 2016 | calls then say Y here. |
| 2017 | |
| 2018 | If unsure, say N. |
Matt Wagantall | c2bbdc3 | 2012-03-21 19:44:50 -0700 | [diff] [blame] | 2019 | |
Stephen Boyd | 322a992 | 2011-09-20 01:05:54 -0700 | [diff] [blame] | 2020 | config MSM_PIL_RIVA |
| 2021 | tristate "RIVA (WCNSS) Boot Support" |
Stephen Boyd | fdec00d | 2012-05-10 17:04:49 -0700 | [diff] [blame] | 2022 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Stephen Boyd | 322a992 | 2011-09-20 01:05:54 -0700 | [diff] [blame] | 2023 | help |
| 2024 | Support for booting and shutting down the RIVA processor (WCNSS). |
| 2025 | Riva is the wireless subsystem processor used in bluetooth, wireless |
| 2026 | LAN, and FM software applications. |
| 2027 | |
Stephen Boyd | d89eebe | 2011-09-28 23:28:11 -0700 | [diff] [blame] | 2028 | config MSM_PIL_TZAPPS |
| 2029 | tristate "TZApps Boot Support" |
Stephen Boyd | 046013f | 2012-06-28 20:24:17 -0700 | [diff] [blame] | 2030 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Stephen Boyd | d89eebe | 2011-09-28 23:28:11 -0700 | [diff] [blame] | 2031 | help |
| 2032 | Support for booting and shutting down TZApps. |
| 2033 | |
| 2034 | TZApps is an image that runs in the secure processor state. It is |
| 2035 | used to decrypt data and perform secure operations on the behalf of |
| 2036 | the kernel. |
| 2037 | |
Stephen Boyd | 25c4a0b | 2011-09-20 00:12:36 -0700 | [diff] [blame] | 2038 | config MSM_PIL_DSPS |
| 2039 | tristate "DSPS Boot Support" |
Stephen Boyd | f169b4b | 2012-05-10 17:55:55 -0700 | [diff] [blame] | 2040 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Stephen Boyd | 25c4a0b | 2011-09-20 00:12:36 -0700 | [diff] [blame] | 2041 | help |
| 2042 | Support for booting and shutting down ARM7 DSPS processors. |
| 2043 | |
| 2044 | DSPS is a sensors offloading processor used for applications such |
| 2045 | as rotation detection, temperature, etc. |
| 2046 | |
Stephen Boyd | 7b973de | 2012-03-09 12:26:16 -0800 | [diff] [blame] | 2047 | config MSM_PIL_VIDC |
| 2048 | tristate "Video Core Secure Boot Support" |
Stephen Boyd | 046013f | 2012-06-28 20:24:17 -0700 | [diff] [blame] | 2049 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Stephen Boyd | 7b973de | 2012-03-09 12:26:16 -0800 | [diff] [blame] | 2050 | help |
| 2051 | Support for authenticating the video core image. |
| 2052 | |
Tianyi Gou | 828798d | 2012-05-02 21:12:38 -0700 | [diff] [blame] | 2053 | config MSM_PIL_VENUS |
| 2054 | tristate "VENUS (Video) Boot Support" |
Stephen Boyd | 046013f | 2012-06-28 20:24:17 -0700 | [diff] [blame] | 2055 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Tianyi Gou | 828798d | 2012-05-02 21:12:38 -0700 | [diff] [blame] | 2056 | help |
| 2057 | Support for booting and shutting down the VENUS processor (Video). |
| 2058 | Venus is the Video subsystem processor used for video codecs. |
| 2059 | |
Matt Wagantall | 292aace | 2012-01-26 19:12:34 -0800 | [diff] [blame] | 2060 | config MSM_PIL_GSS |
Stephen Boyd | d86214b | 2012-05-10 15:26:35 -0700 | [diff] [blame] | 2061 | tristate "GSS (Cortex A5) Boot Support" |
| 2062 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Matt Wagantall | 292aace | 2012-01-26 19:12:34 -0800 | [diff] [blame] | 2063 | help |
| 2064 | Support for booting and shutting down Cortex A5 processors which run |
| 2065 | GPS subsystem firmware. |
| 2066 | |
Tianyi Gou | c1e049f8 | 2011-11-23 14:20:16 -0800 | [diff] [blame] | 2067 | config MSM_PIL_PRONTO |
| 2068 | tristate "PRONTO (WCNSS) Boot Support" |
Stephen Boyd | 581fe85 | 2012-06-13 12:05:35 -0700 | [diff] [blame] | 2069 | depends on MSM_PIL && MSM_SUBSYSTEM_RESTART |
Tianyi Gou | c1e049f8 | 2011-11-23 14:20:16 -0800 | [diff] [blame] | 2070 | help |
| 2071 | Support for booting and shutting down the PRONTO processor (WCNSS). |
| 2072 | PRONTO is the wireless subsystem processor used in bluetooth, wireless |
| 2073 | LAN, and FM software applications. |
| 2074 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2075 | config MSM_SCM |
| 2076 | bool "Secure Channel Manager (SCM) support" |
| 2077 | default n |
| 2078 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2079 | config SCORPION_Uni_45nm_BUG |
| 2080 | bool "Scorpion Uni 45nm(SC45U): Workaround for ICIMVAU and BPIMVA" |
| 2081 | depends on ARCH_MSM7X30 || (ARCH_QSD8X50 && MSM_SOC_REV_A) |
| 2082 | default y |
| 2083 | help |
| 2084 | Invalidating the Instruction Cache by Modified Virtual Address to PoU and |
| 2085 | invalidating the Branch Predictor Array by Modified Virtual Address can |
| 2086 | create invalid entries in the TLB with the wrong ASID values on Scorpion |
| 2087 | Uniprocessor 45nm (SC45U) cores. This option enables the recommended software |
| 2088 | workaround for Scorpion Uniprocessor 45nm cores. |
| 2089 | |
| 2090 | This bug is not applicable to any ScorpionMP or Scorpion Uni 65nm(SC65U) cores. |
| 2091 | |
Harini Jayaraman | ef7805f | 2011-09-28 12:45:31 -0600 | [diff] [blame] | 2092 | config MSM_BUSPM_DEV |
| 2093 | tristate "MSM Bus Performance Monitor Kernel Module" |
| 2094 | depends on (ARCH_MSM8X60 || ARCH_MSM8960) |
| 2095 | default m |
| 2096 | help |
| 2097 | This kernel module is used to mmap() hardware registers for the |
| 2098 | performance monitors, counters, etc. The module can also be used to |
| 2099 | allocate physical memory which is used by bus performance hardware to |
| 2100 | dump performance data. |
| 2101 | |
Mona Hossain | 11c03ac | 2011-10-26 12:42:10 -0700 | [diff] [blame] | 2102 | config MSM_TZ_LOG |
| 2103 | tristate "MSM Trust Zone (TZ) Log Driver" |
| 2104 | depends on DEBUG_FS |
| 2105 | help |
| 2106 | This option enables a driver with a debugfs interface for messages |
| 2107 | produced by the Secure code (Trust zone). These messages provide |
| 2108 | diagnostic information about TZ operation. |
| 2109 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2110 | config MSM_RPM_LOG |
| 2111 | tristate "MSM Resource Power Manager Log Driver" |
| 2112 | depends on DEBUG_FS |
Praveen Chidambaram | 7a71223 | 2011-10-28 13:39:45 -0600 | [diff] [blame] | 2113 | depends on MSM_RPM |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2114 | default n |
| 2115 | help |
| 2116 | This option enables a driver which can read from a circular buffer |
| 2117 | of messages produced by the RPM. These messages provide diagnostic |
| 2118 | information about RPM operation. The driver outputs the messages |
| 2119 | via a debugfs node. |
| 2120 | |
| 2121 | config MSM_RPM_STATS_LOG |
| 2122 | tristate "MSM Resource Power Manager Stat Driver" |
| 2123 | depends on DEBUG_FS |
Priyanka Mathur | 1af9d4b | 2012-10-30 14:55:44 -0700 | [diff] [blame] | 2124 | depends on MSM_RPM || MSM_RPM_SMD |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2125 | default n |
| 2126 | help |
| 2127 | This option enables a driver which reads RPM messages from a shared |
| 2128 | memory location. These messages provide statistical information about |
| 2129 | the low power modes that RPM enters. The drivers outputs the message |
| 2130 | via a debugfs node. |
| 2131 | |
Girish Mahadevan | 898c56d | 2012-06-05 16:09:19 -0600 | [diff] [blame] | 2132 | config MSM_RPM_RBCPR_STATS_LOG |
| 2133 | tristate "MSM Resource Power Manager RPBCPR Stat Driver" |
| 2134 | depends on DEBUG_FS |
| 2135 | depends on MSM_RPM |
| 2136 | help |
| 2137 | This option enables a driver which reads RPM messages from a shared |
| 2138 | memory location. These messages provide statistical information about |
| 2139 | RBCPR (Rapid Bridge Core Power Reduction) information . The drivers |
| 2140 | outputs the message via a debugfs node. |
| 2141 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2142 | config MSM_DIRECT_SCLK_ACCESS |
| 2143 | bool "Direct access to the SCLK timer" |
| 2144 | default n |
| 2145 | |
| 2146 | config IOMMU_API |
| 2147 | bool |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 2148 | |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 2149 | config MSM_GPIOMUX |
| 2150 | bool |
| 2151 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2152 | config MSM_SECURE_IO |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 2153 | bool |
Stepan Moskovchenko | 0ab84745 | 2010-11-12 19:29:57 -0800 | [diff] [blame] | 2154 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2155 | config MSM_NATIVE_RESTART |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 2156 | bool |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2157 | |
Taniya Das | cd1d023 | 2012-07-03 17:50:47 +0530 | [diff] [blame] | 2158 | config MSM_MODEM_RESTART |
| 2159 | bool |
| 2160 | |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 2161 | config MSM_PM2 |
| 2162 | depends on PM |
| 2163 | bool |
| 2164 | |
| 2165 | config MSM_PM8X60 |
| 2166 | depends on PM |
| 2167 | bool |
| 2168 | |
Girish Mahadevan | 388c308 | 2012-09-10 15:30:36 -0600 | [diff] [blame] | 2169 | config MSM_EVENT_TIMER |
| 2170 | bool "Event timer" |
| 2171 | help |
| 2172 | This option enables a modules that manages a list of event timers that |
| 2173 | need to be monitored by the PM. The enables the PM code to monitor |
| 2174 | events that require the core to be awake and ready to handle the |
| 2175 | event. |
| 2176 | |
Matt Wagantall | 88b8631 | 2012-01-31 16:53:03 -0800 | [diff] [blame] | 2177 | config MSM_NOPM |
| 2178 | default y if !PM |
| 2179 | bool |
| 2180 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2181 | config MSM_BUS_SCALING |
| 2182 | bool "Bus scaling driver" |
| 2183 | default n |
| 2184 | |
Gagan Mac | 85c7049 | 2011-06-10 16:07:47 -0600 | [diff] [blame] | 2185 | config MSM_BUS_RPM_MULTI_TIER_ENABLED |
| 2186 | bool "RPM Multi-tiering Configuration" |
| 2187 | depends on MSM_BUS_SCALING |
| 2188 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2189 | config MSM_WATCHDOG |
| 2190 | bool "MSM Watchdog Support" |
Rohit Vaswani | e897f84 | 2012-03-19 14:19:34 -0700 | [diff] [blame] | 2191 | depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_FSM9XXX |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2192 | help |
| 2193 | This enables the watchdog as is present on 8x60. Currently we use |
| 2194 | core 0's watchdog, and reset the entire SoC if it times out. It does |
| 2195 | not run during the bootup process, so it will not catch any early |
| 2196 | lockups. |
| 2197 | |
Hanumant Singh | d1f0102 | 2012-07-05 14:21:53 -0700 | [diff] [blame] | 2198 | config MSM_WATCHDOG_V2 |
| 2199 | bool "MSM Watchdog Support" |
| 2200 | help |
| 2201 | This enables the watchdog module. It causes kernel panic if the |
| 2202 | watchdog times out. It allows for detection of cpu hangs and |
| 2203 | deadlocks. It does not run during the bootup process, so it will |
| 2204 | not catch any early lockups. |
| 2205 | |
Hanumant Singh | 5e2541c | 2012-07-31 14:41:14 -0700 | [diff] [blame] | 2206 | config MSM_MEMORY_DUMP |
| 2207 | bool "MSM Memory Dump Support" |
| 2208 | help |
| 2209 | This enables memory dump feature. It allows various client |
| 2210 | subsystems to register respective dump regions. At the time |
| 2211 | of deadlocks or cpu hangs these dump regions are captured to |
| 2212 | give a snapshot of the system at the time of the crash. |
| 2213 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2214 | config MSM_DLOAD_MODE |
| 2215 | bool "Enable download mode on crashes" |
Abhimanyu Kapur | dd7f269 | 2012-10-22 13:43:52 -0700 | [diff] [blame] | 2216 | depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615 || ARCH_MSM8974 || ARCH_MSM9625 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2217 | default n |
| 2218 | help |
| 2219 | This makes the SoC enter download mode when it resets |
| 2220 | due to a kernel panic. Note that this doesn't by itself |
| 2221 | make the kernel reboot on a kernel panic - that must be |
| 2222 | enabled via another mechanism. |
| 2223 | |
Pratik Patel | 17f3b82 | 2011-11-21 12:41:47 -0800 | [diff] [blame] | 2224 | config MSM_JTAG |
Pratik Patel | 2963de4 | 2012-05-17 12:43:40 -0700 | [diff] [blame] | 2225 | bool "JTAG and kernel debug and trace support across power collapse" |
Pratik Patel | fd6f56a | 2011-10-10 17:47:55 -0700 | [diff] [blame] | 2226 | help |
Pratik Patel | 2963de4 | 2012-05-17 12:43:40 -0700 | [diff] [blame] | 2227 | Enables support for kernel debugging (specifically breakpoints) and |
| 2228 | processor tracing across power collapse both for JTag and OS hosted |
| 2229 | software running on the target. Enabling this will ensure debug |
| 2230 | and ETM registers are saved and restored across power collapse. |
| 2231 | |
| 2232 | For production builds, you should probably say 'N' here to avoid |
| 2233 | potential power, performance and memory penalty. |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 2234 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2235 | config MSM_ETM |
| 2236 | tristate "Enable MSM ETM and ETB" |
Pratik Patel | 17f3b82 | 2011-11-21 12:41:47 -0800 | [diff] [blame] | 2237 | depends on ARCH_MSM8X60 |
| 2238 | select MSM_JTAG |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2239 | help |
Pratik Patel | 17f3b82 | 2011-11-21 12:41:47 -0800 | [diff] [blame] | 2240 | Enables embedded trace collection on MSM8660 |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 2241 | |
Lynus Vaz | dde09ee | 2012-01-05 13:28:22 +0530 | [diff] [blame] | 2242 | config MSM_SLEEP_STATS_DEVICE |
| 2243 | bool "Enable exporting of MSM sleep device stats to userspace" |
| 2244 | |
Krishna Vanka | 7f563ff | 2012-03-20 22:04:19 +0530 | [diff] [blame] | 2245 | config MSM_RUN_QUEUE_STATS |
| 2246 | bool "Enable collection and exporting of MSM Run Queue stats to userspace" |
Krishna Vanka | e292205 | 2012-03-02 09:59:12 +0530 | [diff] [blame] | 2247 | depends on (MSM_SOC_REV_A || ARCH_MSM8X60 || ARCH_MSM8960) |
| 2248 | help |
| 2249 | This option enalbes statistics collection on Run Queue. A daemon |
| 2250 | in user mode, called MPDecision will be using this data to decide |
| 2251 | on when to switch off/on the other cores. |
Krishna Vanka | 7f563ff | 2012-03-20 22:04:19 +0530 | [diff] [blame] | 2252 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2253 | config MSM_STANDALONE_POWER_COLLAPSE |
| 2254 | bool "Enable standalone power collapse" |
| 2255 | default n |
| 2256 | |
| 2257 | config MSM_GSBI9_UART |
| 2258 | bool "Enable GSBI9 UART device" |
| 2259 | default n |
| 2260 | help |
| 2261 | This enables GSBI9 configured into UART. |
| 2262 | |
| 2263 | config MSM_SHARED_GPIO_FOR_UART2DM |
| 2264 | bool "Use shared GPIOs into UART mode" |
| 2265 | depends on (ARCH_MSM7X27A && !MMC_MSM_SDC3_8_BIT_SUPPORT && !MMC_MSM_SDC4_SUPPORT) |
| 2266 | help |
| 2267 | This option configures GPIO muxed with SDC4/MMC3 |
| 2268 | 8-bit mode into UART mode. It is used for serial |
| 2269 | console on UART2DM. Say Y if you want to have |
| 2270 | serial console on UART2DM. |
| 2271 | |
| 2272 | config MSM_SHOW_RESUME_IRQ |
| 2273 | bool "Enable logging of interrupts that could have caused resume" |
Bryan Huntsman | cc14703 | 2011-11-23 13:03:56 -0800 | [diff] [blame] | 2274 | depends on (ARM_GIC || PMIC8058) |
| 2275 | default y if PMIC8058 |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2276 | default n |
| 2277 | help |
| 2278 | This option logs wake up interrupts that have triggered just before |
| 2279 | the resume loop unrolls. Say Y if you want to debug why the system |
| 2280 | resumed. |
| 2281 | |
| 2282 | config BT_MSM_PINTEST |
| 2283 | tristate "MSM Bluetooth Pin Connectivity Test" |
| 2284 | depends on ((ARCH_MSM8X60 || ARCH_MSM7X27A) && DEBUG_FS) |
| 2285 | default n |
| 2286 | help |
| 2287 | Bluetooth MSM Pin Connectivity test module. |
| 2288 | This driver provides support for verifying the MSM to BT pin |
| 2289 | connectivity. |
| 2290 | |
| 2291 | config MSM_FAKE_BATTERY |
| 2292 | depends on POWER_SUPPLY |
| 2293 | default n |
| 2294 | bool "MSM Fake Battery" |
| 2295 | help |
| 2296 | Enables MSM fake battery driver. |
| 2297 | |
| 2298 | config MSM_QDSP6_APR |
| 2299 | bool "Audio QDSP6 APR support" |
| 2300 | depends on MSM_SMD |
| 2301 | default n |
| 2302 | help |
| 2303 | Enable APR IPC protocol support between |
| 2304 | application processor and QDSP6. APR is |
| 2305 | used by audio driver to configure QDSP6's |
| 2306 | ASM, ADM and AFE. |
| 2307 | |
Joonwoo Park | 91d9546 | 2012-08-02 10:55:54 -0700 | [diff] [blame] | 2308 | config MSM_QDSP6_APRV2 |
| 2309 | bool "Audio QDSP6 APRv2 support" |
| 2310 | depends on MSM_SMD |
| 2311 | default n |
| 2312 | help |
| 2313 | Enable APRv2 IPC protocol support between |
| 2314 | application processor and QDSP6. APR is |
| 2315 | used by audio driver to configure QDSP6's |
| 2316 | ASM, ADM and AFE. |
| 2317 | |
Harmandeep Singh | c35fa07d | 2012-05-31 07:08:59 -0700 | [diff] [blame] | 2318 | config MSM_QDSP6_CODECS |
| 2319 | bool "Audio Codecs on QDSP6 APR " |
| 2320 | depends on MSM_SMD |
| 2321 | default n |
| 2322 | help |
| 2323 | Enable Audio codecs with APR IPC protocol support between |
| 2324 | application processor and QDSP6. APR is |
| 2325 | used by audio driver to configure QDSP6's |
| 2326 | ASM, ADM and AFE. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2327 | |
Harmandeep Singh | e5ddfe3 | 2012-05-26 09:39:25 -0700 | [diff] [blame] | 2328 | config MSM_QDSP6V2_CODECS |
| 2329 | bool "Audio QDSP6V2 APR support" |
| 2330 | depends on MSM_SMD |
| 2331 | help |
| 2332 | Enable Audio codecs with APR IPC protocol support between |
| 2333 | application processor and QDSP6 for B-family. APR is |
| 2334 | used by audio driver to configure QDSP6's |
| 2335 | ASM, ADM and AFE. |
| 2336 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2337 | config MSM_AUDIO_QDSP6 |
| 2338 | bool "QDSP6 HW Audio support" |
| 2339 | select SND_SOC_MSM_QDSP6_INTF |
| 2340 | default n |
| 2341 | help |
| 2342 | Enable HW audio support in QDSP6. |
| 2343 | QDSP6 can support HW encoder & decoder and audio processing |
| 2344 | |
Harmandeep Singh | e5ddfe3 | 2012-05-26 09:39:25 -0700 | [diff] [blame] | 2345 | config MSM_AUDIO_QDSP6V2 |
| 2346 | bool "QDSP6V2 HW Audio support" |
| 2347 | select SND_SOC_MSM_QDSP6V2_INTF |
| 2348 | help |
| 2349 | Enable HW audio support in QDSP6V2. |
| 2350 | QDSP6V2 can support HW encoder & decoder and |
| 2351 | audio processing. It will enable support for |
| 2352 | AAC, AMRNB, AMRWB, EVRC, MP3, QCELP among |
| 2353 | others. |
| 2354 | |
Joonwoo Park | 4a14a55 | 2012-08-02 11:03:21 -0700 | [diff] [blame] | 2355 | config MSM_ADSP_LOADER |
| 2356 | tristate "ADSP loader support" |
| 2357 | select SND_SOC_MSM_APRV2_INTF |
| 2358 | depends on MSM_AUDIO_QDSP6V2 && m |
| 2359 | help |
| 2360 | Enable ADSP image loader. |
| 2361 | The ADSP loader brings ADSP out of reset |
| 2362 | for the platforms that use APRv2. |
| 2363 | Say M if you want to enable this module. |
| 2364 | |
Baruch Eruchimovitch | 258b347 | 2012-10-14 21:46:35 +0200 | [diff] [blame] | 2365 | config MSM_ULTRASOUND_A |
| 2366 | bool "QDSP6 HW Ultrasound support" |
Baruch Eruchimovitch | e9cbfc1 | 2011-10-09 19:47:08 +0200 | [diff] [blame] | 2367 | help |
Baruch Eruchimovitch | 258b347 | 2012-10-14 21:46:35 +0200 | [diff] [blame] | 2368 | Enable HW ultrasound support in QDSP6. |
| 2369 | QDSP6 can support HW encoder & decoder and |
| 2370 | ultrasound processing. It will enable |
| 2371 | ultrasound data paths between |
| 2372 | HW and services, calculating input events |
| 2373 | upon the ultrasound data. |
Baruch Eruchimovitch | e9cbfc1 | 2011-10-09 19:47:08 +0200 | [diff] [blame] | 2374 | |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2375 | config MSM_RPC_VIBRATOR |
| 2376 | bool "RPC based MSM Vibrator Support" |
| 2377 | depends on MSM_ONCRPCROUTER |
| 2378 | help |
| 2379 | Enable the vibrator support on MSM over RPC. The vibrator |
| 2380 | is connected on the PMIC. Say Y if you want to enable this |
| 2381 | feature. |
| 2382 | |
| 2383 | config PM8XXX_RPC_VIBRATOR |
| 2384 | bool "RPC based Vibrator on PM8xxx PMICs" |
| 2385 | depends on MSM_RPC_VIBRATOR |
| 2386 | help |
| 2387 | Enable the vibrator support on MSM over RPC. The vibrator |
| 2388 | is connected on the PM8XXX PMIC. Say Y if you want to enable |
| 2389 | this feature. |
| 2390 | |
| 2391 | config MSM_SPM_V1 |
| 2392 | bool "Driver support for SPM Version 1" |
| 2393 | help |
| 2394 | Enables the support for Version 1 of the SPM driver. SPM hardware is |
| 2395 | used to manage the processor power during sleep. The driver allows |
| 2396 | configuring SPM to allow different power modes. |
| 2397 | |
| 2398 | config MSM_SPM_V2 |
| 2399 | bool "Driver support for SPM Version 2" |
| 2400 | help |
| 2401 | Enables the support for Version 2 of the SPM driver. SPM hardware is |
| 2402 | used to manage the processor power during sleep. The driver allows |
| 2403 | configuring SPM to allow different power modes. |
| 2404 | |
| 2405 | config MSM_L2_SPM |
| 2406 | bool "SPM support for L2 cache" |
| 2407 | depends on MSM_SPM_V2 |
| 2408 | help |
| 2409 | Enable SPM driver support for L2 cache. Some MSM chipsets allow |
| 2410 | control of L2 cache low power mode with a Subsystem Power manager. |
| 2411 | Enabling this driver allows configuring L2 SPM for low power modes |
| 2412 | on supported chipsets. |
| 2413 | |
Laura Abbott | 2d1760b | 2011-09-29 21:31:24 -0700 | [diff] [blame] | 2414 | config MSM_MULTIMEDIA_USE_ION |
| 2415 | bool "Multimedia suport using Ion" |
| 2416 | depends on ION_MSM |
| 2417 | help |
| 2418 | Enable support for multimedia drivers using Ion for buffer management |
| 2419 | instead of pmem. Selecting this may also involve userspace |
| 2420 | dependencies as well. |
| 2421 | |
Naveen Ramaraj | 51f5e8b | 2012-04-09 15:58:40 -0700 | [diff] [blame] | 2422 | config MSM_OCMEM |
| 2423 | bool "MSM On-Chip memory driver (OCMEM)" |
| 2424 | help |
| 2425 | Enable support for On-Chip Memory available on certain MSM chipsets. |
| 2426 | OCMEM is a low latency, high performance pool shared by subsystems. |
| 2427 | |
Naveen Ramaraj | 99b0756 | 2012-05-28 20:57:09 -0700 | [diff] [blame] | 2428 | config MSM_OCMEM_LOCAL_POWER_CTRL |
| 2429 | bool "OCMEM Local Power Control" |
| 2430 | depends on MSM_OCMEM |
| 2431 | help |
| 2432 | Enable direct power management of the OCMEM core by the |
| 2433 | OCMEM driver. By default power management is delegated to |
| 2434 | the RPM. Selecting this option causes the OCMEM driver to |
| 2435 | directly handle the various macro power transitions. |
| 2436 | |
| 2437 | config MSM_OCMEM_DEBUG |
| 2438 | bool "OCMEM Debug Support" |
| 2439 | depends on MSM_OCMEM |
| 2440 | help |
| 2441 | Enable debug options for On-chip Memory (OCMEM) driver. |
| 2442 | Various debug options include memory, power and latency. |
| 2443 | Choosing one of these options allows debugging of each |
| 2444 | individual subsystem separately. |
| 2445 | |
Naveen Ramaraj | c71b2de | 2012-08-20 12:35:52 -0700 | [diff] [blame] | 2446 | config MSM_OCMEM_NONSECURE |
| 2447 | bool "OCMEM Non Secure Mode" |
| 2448 | depends on MSM_OCMEM_DEBUG |
| 2449 | help |
| 2450 | Disable OCMEM interaction with secure processor. |
| 2451 | By default OCMEM is secured and accesses for each master |
| 2452 | is requested by the OCMEM driver. Selecting this option |
| 2453 | causes the OCMEM memory to be in non-secure state unless |
| 2454 | its locked down by the secure processor. |
| 2455 | |
Naveen Ramaraj | 99b0756 | 2012-05-28 20:57:09 -0700 | [diff] [blame] | 2456 | config MSM_OCMEM_POWER_DEBUG |
| 2457 | bool "OCMEM Power Debug Support" |
| 2458 | depends on MSM_OCMEM_DEBUG |
| 2459 | help |
| 2460 | Enable debug support for OCMEM power management. |
| 2461 | This adds support for verifying all power management |
| 2462 | related operations of OCMEM. Both local power management |
| 2463 | and RPM assisted power management operations are supported. |
| 2464 | |
Naveen Ramaraj | 4b1d939 | 2012-08-06 21:05:14 -0700 | [diff] [blame] | 2465 | config MSM_OCMEM_POWER_DISABLE |
| 2466 | bool "OCMEM Disable Power Control" |
| 2467 | depends on MSM_OCMEM_DEBUG |
| 2468 | help |
| 2469 | Disable all OCMEM power management. |
| 2470 | This keeps all OCMEM macros turned ON at all times thus |
| 2471 | never allowing them to be turned OFF. Both local power |
| 2472 | management and RPM assisted power modes are supported. |
| 2473 | |
Laura Abbott | ad340ff | 2012-01-04 14:23:48 -0800 | [diff] [blame] | 2474 | config MSM_RTB |
| 2475 | bool "Register tracing" |
| 2476 | help |
| 2477 | Add support for logging different events to a small uncached |
| 2478 | region. This is designed to aid in debugging reset cases where the |
| 2479 | caches may not be flushed before the target resets. |
| 2480 | |
| 2481 | config MSM_RTB_SEPARATE_CPUS |
| 2482 | bool "Separate entries for each cpu" |
| 2483 | depends on MSM_RTB |
Laura Abbott | 9959f98 | 2012-02-28 11:30:50 -0800 | [diff] [blame] | 2484 | depends on SMP |
Laura Abbott | ad340ff | 2012-01-04 14:23:48 -0800 | [diff] [blame] | 2485 | help |
| 2486 | Under some circumstances, it may be beneficial to give dedicated space |
| 2487 | for each cpu to log accesses. Selecting this option will log each cpu |
| 2488 | separately. This will guarantee that the last acesses for each cpu |
| 2489 | will be logged but there will be fewer entries per cpu |
| 2490 | |
Stepan Moskovchenko | 5788484 | 2012-06-07 17:35:49 -0700 | [diff] [blame] | 2491 | config MSM_EBI_ERP |
| 2492 | bool "External Bus Interface (EBI) error reporting" |
| 2493 | help |
| 2494 | Say 'Y' here to enable reporting of external bus interface errors to |
| 2495 | the kernel log. Information such as the offending address and |
| 2496 | transaction type will be logged. This may be useful for debugging |
| 2497 | seemingly broken memory accesses. |
| 2498 | |
| 2499 | For production builds, you should probably say 'N' here. |
| 2500 | |
Stepan Moskovchenko | 07552e1 | 2012-02-29 20:09:32 -0800 | [diff] [blame] | 2501 | config MSM_CACHE_ERP |
| 2502 | bool "Cache / CPU error reporting" |
| 2503 | depends on ARCH_MSM_KRAIT |
| 2504 | help |
| 2505 | Say 'Y' here to enable reporting of cache and TLB errors to the kernel |
| 2506 | log. Enabling this feature can be used as a system debugging technique |
| 2507 | if cache corruption is suspected. Cache error statistics will also be |
| 2508 | reported in /proc/cpu/msm_cache_erp. |
| 2509 | |
| 2510 | For production builds, you should probably say 'N' here. |
| 2511 | |
| 2512 | config MSM_L1_ERR_PANIC |
Stepan Moskovchenko | 1b0c174 | 2012-04-30 14:53:16 -0700 | [diff] [blame] | 2513 | bool "Panic on L1 cache errors" |
Stepan Moskovchenko | 07552e1 | 2012-02-29 20:09:32 -0800 | [diff] [blame] | 2514 | depends on MSM_CACHE_ERP |
| 2515 | help |
Stepan Moskovchenko | 1b0c174 | 2012-04-30 14:53:16 -0700 | [diff] [blame] | 2516 | To cause the kernel to panic whenever an L1 cache error is detected, say |
| 2517 | 'Y' here. This may be useful as a debugging technique if general system |
| 2518 | instability is suspected. |
Stepan Moskovchenko | 07552e1 | 2012-02-29 20:09:32 -0800 | [diff] [blame] | 2519 | |
| 2520 | For production builds, you should probably say 'N' here. |
| 2521 | |
Stepan Moskovchenko | 7035f65 | 2012-05-31 17:48:01 -0700 | [diff] [blame] | 2522 | config MSM_L1_ERR_LOG |
| 2523 | bool "Log CPU ERP events to system memory" |
| 2524 | depends on MSM_CACHE_ERP |
| 2525 | help |
| 2526 | Enable logging CPU ERP events to an area of memory that will be |
| 2527 | preserved across a system reset. This may be useful for detecting and |
| 2528 | troubleshooting ERP-related system crashes in the field. |
| 2529 | |
| 2530 | For production builds, you may want to say 'Y' here. |
| 2531 | |
Stepan Moskovchenko | e9a5dc1 | 2012-04-03 20:25:49 -0700 | [diff] [blame] | 2532 | config MSM_L2_ERP_PRINT_ACCESS_ERRORS |
| 2533 | bool "Report L2 master port slave/decode errors in kernel log" |
| 2534 | depends on MSM_CACHE_ERP |
| 2535 | help |
| 2536 | Master port errors can occur when a memory request is not properly |
| 2537 | handled by the destination slave. This can occur if the destination |
| 2538 | register does not exist or is inaccessible due to security |
| 2539 | restrictions or (in some cases) clock configuration. Enabling this |
| 2540 | option will cause a backtrace to be printed to the kernel log whenever |
| 2541 | such an error is encountered. Note that the error is reported as an |
| 2542 | interrupt rather than as an exception, meaning that the backtrace may |
| 2543 | have some skid. This option may help with debugging, though production |
| 2544 | builds should probably say 'N' here. |
Stepan Moskovchenko | 07552e1 | 2012-02-29 20:09:32 -0800 | [diff] [blame] | 2545 | |
| 2546 | config MSM_L2_ERP_PORT_PANIC |
| 2547 | bool "Panic on L2 master port errors" |
Stepan Moskovchenko | e9a5dc1 | 2012-04-03 20:25:49 -0700 | [diff] [blame] | 2548 | depends on MSM_CACHE_ERP && MSM_L2_ERP_PRINT_ACCESS_ERRORS |
Stepan Moskovchenko | 07552e1 | 2012-02-29 20:09:32 -0800 | [diff] [blame] | 2549 | help |
| 2550 | Master port errors can occur when a memory request is not properly |
| 2551 | handled by the destination slave. Enable this option to catch drivers |
| 2552 | which attempt to access bad areas of the address space, or access |
| 2553 | hardware registers in an improper state (such as certain clocks not |
| 2554 | being on). This option may help with debugging, though production |
| 2555 | builds should probably say 'N' here. |
| 2556 | |
| 2557 | config MSM_L2_ERP_1BIT_PANIC |
| 2558 | bool "Panic on recoverable L2 soft errors" |
| 2559 | depends on MSM_CACHE_ERP |
| 2560 | help |
| 2561 | Enable this option to cause a kernel panic whenever the L2 cache |
| 2562 | encounters a single-bit (correctable) soft error. This option should |
| 2563 | only be enabled when doing low-level debugging where cache corruption |
| 2564 | is suspected. |
| 2565 | |
| 2566 | For production builds, you should definitely say 'N' here. |
| 2567 | |
| 2568 | config MSM_L2_ERP_2BIT_PANIC |
| 2569 | bool "Panic on unrecoverable L2 soft errors" |
| 2570 | depends on MSM_CACHE_ERP |
| 2571 | help |
| 2572 | Enable this option to cause a kernel panic whenever the L2 cache |
| 2573 | encounters a double-bit (non-correctable) soft error. Debug builds |
| 2574 | will likely benefit from having this option enabled to catch cache |
| 2575 | problems as soon as possible. |
| 2576 | |
| 2577 | For production builds, it may be acceptable to say 'N' here, since |
| 2578 | an uncorrectable error might not necessarily cause further problems. |
Laura Abbott | ad340ff | 2012-01-04 14:23:48 -0800 | [diff] [blame] | 2579 | |
Praveen Chidambaram | f53ef1b | 2011-12-06 08:27:49 -0700 | [diff] [blame] | 2580 | config MSM_DCVS |
| 2581 | bool "Use MSM DCVS for CPU/GPU Frequency control" |
| 2582 | depends on MSM_SCM |
| 2583 | help |
| 2584 | Enable support for MSM DCVS to control all CPU and GPU core frequencies. |
| 2585 | The DCVS manager allows idle driver to feed the idle information to the |
| 2586 | algorithm and the algorithm returns a frequency for the core which is |
| 2587 | passed to the frequency change driver. |
| 2588 | |
Pankaj Kumar | 32ce1ea | 2012-04-04 20:29:29 +0530 | [diff] [blame] | 2589 | config MSM_CPR |
| 2590 | tristate "Use MSM CPR in S/W mode" |
| 2591 | help |
| 2592 | Enable CPR (core power reduction) in S/W mode, where the processor |
| 2593 | get's the notification from CPR block and programs the PMIC. |
| 2594 | |
| 2595 | config MSM_VP_REGULATOR |
| 2596 | tristate "Use MSM PMIC8029 C2 regulator" |
| 2597 | depends on ARCH_MSM8625 |
| 2598 | help |
| 2599 | Enable MSM PMIC8029 C2 regulator support using APC_PLEVEL access |
| 2600 | for MSMs like 8625. |
| 2601 | |
Taniya Das | c43e687 | 2012-03-21 16:41:14 +0530 | [diff] [blame] | 2602 | config HAVE_ARCH_HAS_CURRENT_TIMER |
| 2603 | bool |
Laura Abbott | 306bcc2 | 2012-03-08 11:24:53 -0800 | [diff] [blame] | 2604 | |
| 2605 | config MSM_CACHE_DUMP |
| 2606 | bool "Cache dumping support" |
| 2607 | help |
| 2608 | Add infrastructure to dump the L1 and L2 caches to an allocated buffer. |
| 2609 | This allows for analysis of the caches in case cache corruption is |
| 2610 | suspected. |
| 2611 | |
Laura Abbott | 7b63736 | 2012-03-29 16:43:49 -0700 | [diff] [blame] | 2612 | config MSM_CACHE_DUMP_ON_PANIC |
| 2613 | bool "Dump caches on panic" |
| 2614 | depends on MSM_CACHE_DUMP |
| 2615 | help |
| 2616 | By default, the caches are flushed on panic. This means that trying to |
| 2617 | look at them in a RAM dump will give useless data. Select this if you |
| 2618 | want to dump the L1 and L2 caches on panic before any flush occurs. |
| 2619 | If unsure, say N |
| 2620 | |
Jack Pham | ccbbfab | 2012-04-09 19:50:20 -0700 | [diff] [blame] | 2621 | config MSM_HSIC_SYSMON |
| 2622 | tristate "MSM HSIC system monitor driver" |
| 2623 | depends on USB |
| 2624 | help |
| 2625 | Add support for bridging with the system monitor interface of MDM |
| 2626 | over HSIC. This driver allows the local system monitor to |
| 2627 | communicate with the remote system monitor interface. |
| 2628 | |
| 2629 | config MSM_HSIC_SYSMON_TEST |
| 2630 | tristate "MSM HSIC system monitor bridge test" |
| 2631 | depends on USB && MSM_HSIC_SYSMON && DEBUG_FS |
| 2632 | help |
| 2633 | Enable the test hook for the Qualcomm system monitor HSIC driver. |
| 2634 | This will create a debugfs file entry named "hsic_sysmon_test" which |
| 2635 | can be read and written to send character data to the sysmon port of |
| 2636 | the modem over USB. |
| 2637 | |
Anirudh Ghayal | 0d2291a | 2012-09-20 21:31:41 +0530 | [diff] [blame] | 2638 | config MSM_RPC_PMIC |
| 2639 | tristate "MSM RPC PMIC driver" |
| 2640 | depends on MSM_ONCRPCROUTER |
| 2641 | help |
| 2642 | This driver supports the PMIC functionality over RPC for those MSM's |
| 2643 | which do not have a direct access to PMIC. It supports ability to |
| 2644 | configure MPP, GPIO and all the other supported peripherals of the |
| 2645 | PMIC. |
| 2646 | |
Anirudh Ghayal | d3a6373 | 2012-09-20 22:13:13 +0530 | [diff] [blame] | 2647 | config MSM_RPC_USB |
| 2648 | tristate "MSM RPC USB driver" |
| 2649 | depends on MSM_ONCRPCROUTER |
| 2650 | help |
| 2651 | This driver supports the USB configuration support over the RPC |
| 2652 | interface. It support the HS USB module connected to the MSM |
| 2653 | and FS USB which is connected over the PMIC. This support is |
| 2654 | required for MSMs on which the APPS does not have a direct access |
| 2655 | to the PMIC. |
| 2656 | |
| 2657 | config MSM_RPC_PMAPP |
| 2658 | tristate "MSM RPC PMIC APP driver" |
| 2659 | depends on MSM_ONCRPCROUTER |
| 2660 | help |
| 2661 | This driver supports the configuration of various PMIC APP modules |
| 2662 | such as display backlight, vreg pin-ctrl, smps clock over the RPC |
| 2663 | interface. This support is required for MSMs on which the APPS |
| 2664 | does not have a direct access to the PMIC. |
Pushkar Joshi | 0fc7346 | 2012-09-26 17:59:31 -0700 | [diff] [blame] | 2665 | |
| 2666 | config MSM_ENABLE_WDOG_DEBUG_CONTROL |
| 2667 | bool "MSM Watchdog driver to disable debug Image" |
| 2668 | help |
| 2669 | This driver supports the configuration of the GCC_WDOG_DEBUG register |
| 2670 | used to control debug image. |
| 2671 | This support is currently required for MSM8974 to disable debug image |
| 2672 | on PS HOLD reset |
Taniya Das | ea4263f9 | 2012-08-22 18:52:51 +0530 | [diff] [blame] | 2673 | |
| 2674 | config MSM_FIQ |
| 2675 | bool "Enable FIQ for debugging" |
| 2676 | depends on ARCH_MSM8625 |
| 2677 | select FIQ |
Taniya Das | 36e4aa1 | 2012-07-04 18:27:16 +0530 | [diff] [blame] | 2678 | select GIC_SECURE |
Taniya Das | ea4263f9 | 2012-08-22 18:52:51 +0530 | [diff] [blame] | 2679 | help |
| 2680 | Enable any line to be used as an FIQ. This will help debugging |
| 2681 | if apps is not responding and holding lock with irqs disabled. |
| 2682 | Modem will then generate an raise a FIQ on this line before sending |
| 2683 | SMSM reset. |
Greg Reid | b1d240a | 2012-10-12 12:20:31 -0400 | [diff] [blame] | 2684 | |
| 2685 | config MSM_USE_USER_ACCESSIBLE_TIMERS |
| 2686 | bool "Enables mapping an MSM timer counter page to user space." |
| 2687 | depends on ARM_USE_USER_ACCESSIBLE_TIMERS |
| 2688 | help |
| 2689 | Enables MSM-specific user accessible timers via a shared |
| 2690 | memory page containing the cycle counter. |
| 2691 | |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 2692 | endif |