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