Andy Gross | 5d144e3 | 2014-04-24 11:31:21 -0500 | [diff] [blame] | 1 | # |
| 2 | # QCOM Soc drivers |
| 3 | # |
Channagoud Kadabi | 7e8d55a | 2016-08-23 14:04:44 -0700 | [diff] [blame] | 4 | config QCOM_CPUSS_DUMP |
| 5 | bool "CPU Subsystem Dumping support" |
| 6 | help |
| 7 | Add support to dump various hardware entities such as the instruction |
| 8 | and data tlb's as well as the unified tlb, which are a part of the |
| 9 | cpu subsystem to an allocated buffer. This allows for analysis of the |
| 10 | the entities if corruption is suspected. |
| 11 | If unsure, say N |
| 12 | |
Kyle Yan | 36d7870 | 2016-08-23 16:07:11 -0700 | [diff] [blame] | 13 | config QCOM_RUN_QUEUE_STATS |
| 14 | bool "Enable collection and exporting of QTI Run Queue stats to userspace" |
| 15 | help |
| 16 | This option enables the driver to periodically collecting the statistics |
| 17 | of kernel run queue information and calculate the load of the system. |
| 18 | This information is exported to usespace via sysfs entries and userspace |
| 19 | algorithms uses info and decide when to turn on/off the cpu cores. |
| 20 | |
Andy Gross | 5d144e3 | 2014-04-24 11:31:21 -0500 | [diff] [blame] | 21 | config QCOM_GSBI |
| 22 | tristate "QCOM General Serial Bus Interface" |
| 23 | depends on ARCH_QCOM |
Andy Gross | e5fdad6 | 2015-02-09 16:01:06 -0600 | [diff] [blame] | 24 | select MFD_SYSCON |
Andy Gross | 5d144e3 | 2014-04-24 11:31:21 -0500 | [diff] [blame] | 25 | help |
| 26 | Say y here to enable GSBI support. The GSBI provides control |
| 27 | functions for connecting the underlying serial UART, SPI, and I2C |
| 28 | devices to the output pins. |
| 29 | |
Channagoud Kadabi | 97335b2 | 2016-08-17 13:40:46 -0700 | [diff] [blame] | 30 | config QCOM_LLCC |
| 31 | tristate "Qualcomm Technologies, Inc. LLCC driver" |
| 32 | depends on ARCH_QCOM |
| 33 | help |
| 34 | Qualcomm Technologies, Inc. platform specific LLCC driver for Last |
| 35 | Level Cache. This provides interfaces to client's that use the LLCC. |
| 36 | Say yes here to enable LLCC slice driver. |
| 37 | |
Channagoud Kadabi | b1fec94 | 2016-08-17 17:00:26 -0700 | [diff] [blame] | 38 | config QCOM_MSMSKUNK_LLCC |
| 39 | tristate "Qualcomm Technologies, Inc. MSMSKUNK LLCC driver" |
| 40 | depends on QCOM_LLCC |
| 41 | help |
| 42 | Say yes here to enable the LLCC driver for MSMSKUNK. This is provides |
| 43 | data required to configure LLCC so that clients can start using the |
| 44 | LLCC slices. |
| 45 | |
Lina Iyer | 7ce75bb | 2015-04-09 13:20:41 -0600 | [diff] [blame] | 46 | config QCOM_PM |
| 47 | bool "Qualcomm Power Management" |
| 48 | depends on ARCH_QCOM && !ARM64 |
Arnd Bergmann | d9d6888 | 2015-11-24 23:13:09 +0100 | [diff] [blame] | 49 | select ARM_CPU_SUSPEND |
Lina Iyer | 23b38ce | 2015-07-10 14:18:00 -0600 | [diff] [blame] | 50 | select QCOM_SCM |
Lina Iyer | 7ce75bb | 2015-04-09 13:20:41 -0600 | [diff] [blame] | 51 | help |
| 52 | QCOM Platform specific power driver to manage cores and L2 low power |
| 53 | modes. It interface with various system drivers to put the cores in |
| 54 | low power modes. |
Bjorn Andersson | 4b638df4 | 2015-06-26 14:50:10 -0700 | [diff] [blame] | 55 | |
Stephen Boyd | 7d0c8be | 2015-08-28 11:23:33 -0700 | [diff] [blame] | 56 | config QCOM_SMEM |
| 57 | tristate "Qualcomm Shared Memory Manager (SMEM)" |
| 58 | depends on ARCH_QCOM |
Arnd Bergmann | 73ebb85 | 2015-10-13 17:05:39 +0200 | [diff] [blame] | 59 | depends on HWSPINLOCK |
Stephen Boyd | 7d0c8be | 2015-08-28 11:23:33 -0700 | [diff] [blame] | 60 | help |
| 61 | Say y here to enable support for the Qualcomm Shared Memory Manager. |
| 62 | The driver provides an interface to items in a heap shared among all |
| 63 | processors in a Qualcomm platform. |
| 64 | |
Bjorn Andersson | f2ab329 | 2015-07-27 20:20:30 -0700 | [diff] [blame] | 65 | config QCOM_SMD |
| 66 | tristate "Qualcomm Shared Memory Driver (SMD)" |
| 67 | depends on QCOM_SMEM |
| 68 | help |
| 69 | Say y here to enable support for the Qualcomm Shared Memory Driver |
| 70 | providing communication channels to remote processors in Qualcomm |
| 71 | platforms. |
| 72 | |
Bjorn Andersson | 936f14c | 2015-07-27 20:20:32 -0700 | [diff] [blame] | 73 | config QCOM_SMD_RPM |
| 74 | tristate "Qualcomm Resource Power Manager (RPM) over SMD" |
| 75 | depends on QCOM_SMD && OF |
| 76 | help |
| 77 | If you say yes to this option, support will be included for the |
| 78 | Resource Power Manager system found in the Qualcomm 8974 based |
| 79 | devices. |
| 80 | |
| 81 | This is required to access many regulators, clocks and bus |
| 82 | frequencies controlled by the RPM on these devices. |
| 83 | |
| 84 | Say M here if you want to include support for the Qualcomm RPM as a |
| 85 | module. This will build a module called "qcom-smd-rpm". |
Bjorn Andersson | 9460ae2 | 2015-09-24 18:25:01 -0700 | [diff] [blame] | 86 | |
Channagoud Kadabi | eee0ffd | 2016-08-11 14:18:17 -0700 | [diff] [blame] | 87 | config QCOM_SCM |
| 88 | bool "Secure Channel Manager (SCM) support" |
| 89 | default n |
| 90 | |
Bjorn Andersson | 9460ae2 | 2015-09-24 18:25:01 -0700 | [diff] [blame] | 91 | config QCOM_SMEM_STATE |
| 92 | bool |
Bjorn Andersson | c97c409 | 2015-09-24 18:25:02 -0700 | [diff] [blame] | 93 | |
Bjorn Andersson | 50e9964 | 2015-09-24 18:25:03 -0700 | [diff] [blame] | 94 | config QCOM_SMP2P |
Arnd Bergmann | 10475d5 | 2015-11-20 11:32:21 +0100 | [diff] [blame] | 95 | tristate "Qualcomm Shared Memory Point to Point support" |
Bjorn Andersson | 50e9964 | 2015-09-24 18:25:03 -0700 | [diff] [blame] | 96 | depends on QCOM_SMEM |
| 97 | select QCOM_SMEM_STATE |
| 98 | help |
| 99 | Say yes here to support the Qualcomm Shared Memory Point to Point |
| 100 | protocol. |
| 101 | |
Bjorn Andersson | c97c409 | 2015-09-24 18:25:02 -0700 | [diff] [blame] | 102 | config QCOM_SMSM |
Arnd Bergmann | 10475d5 | 2015-11-20 11:32:21 +0100 | [diff] [blame] | 103 | tristate "Qualcomm Shared Memory State Machine" |
Bjorn Andersson | c97c409 | 2015-09-24 18:25:02 -0700 | [diff] [blame] | 104 | depends on QCOM_SMEM |
| 105 | select QCOM_SMEM_STATE |
| 106 | help |
| 107 | Say yes here to support the Qualcomm Shared Memory State Machine. |
| 108 | The state machine is represented by bits in shared memory. |
Bjorn Andersson | ea7a1f2 | 2015-09-21 10:52:55 -0700 | [diff] [blame] | 109 | |
| 110 | config QCOM_WCNSS_CTRL |
| 111 | tristate "Qualcomm WCNSS control driver" |
| 112 | depends on QCOM_SMD |
| 113 | help |
| 114 | Client driver for the WCNSS_CTRL SMD channel, used to download nv |
| 115 | firmware to a newly booted WCNSS chip. |
Kyle Yan | bf6dedf | 2016-08-19 16:47:30 -0700 | [diff] [blame] | 116 | |
Channagoud Kadabi | 0fb6cf6 | 2016-08-23 15:12:52 -0700 | [diff] [blame] | 117 | config MSM_BOOT_STATS |
| 118 | bool "Use MSM boot stats reporting" |
| 119 | help |
| 120 | Use this to report msm boot stats such as bootloader throughput, |
| 121 | display init, total boot time. |
| 122 | This figures are reported in mpm sleep clock cycles and have a |
| 123 | resolution of 31 bits as 1 bit is used as an overflow check. |
| 124 | |
Kyle Yan | a602944 | 2016-08-19 17:07:58 -0700 | [diff] [blame] | 125 | config MSM_CORE_HANG_DETECT |
| 126 | tristate "MSM Core Hang Detection Support" |
| 127 | help |
| 128 | This enables the core hang detection module. It causes SoC |
| 129 | reset on core hang detection and collects the core context |
| 130 | for hang. |
| 131 | |
Kyle Yan | bf6dedf | 2016-08-19 16:47:30 -0700 | [diff] [blame] | 132 | config MSM_GLADIATOR_HANG_DETECT |
| 133 | tristate "MSM Gladiator Hang Detection Support" |
| 134 | help |
| 135 | This enables the gladiator hang detection module. |
| 136 | If the configured threshold is reached, it causes SoC reset on |
| 137 | gladiator hang detection and collects the context for the |
| 138 | gladiator hang. |
Kyle Yan | cc90ead | 2016-08-19 16:53:28 -0700 | [diff] [blame] | 139 | |
| 140 | config MSM_GLADIATOR_ERP_V2 |
| 141 | tristate "GLADIATOR coherency interconnect error reporting driver v2" |
| 142 | help |
| 143 | Support dumping debug information for the GLADIATOR |
| 144 | cache interconnect in the error interrupt handler. |
| 145 | Meant to be used for debug scenarios only. |
| 146 | |
| 147 | If unsure, say N. |
| 148 | |
| 149 | config PANIC_ON_GLADIATOR_ERROR_V2 |
| 150 | depends on MSM_GLADIATOR_ERP_V2 |
| 151 | bool "Panic on GLADIATOR error report v2" |
| 152 | help |
| 153 | Panic upon detection of an Gladiator coherency interconnect error |
| 154 | in order to support dumping debug information. |
| 155 | Meant to be used for debug scenarios only. |
| 156 | |
| 157 | If unsure, say N. |
Satyajit Desai | 5255cea | 2016-08-04 16:02:50 -0700 | [diff] [blame] | 158 | |
Satya Durga Srinivasu Prabhala | 6090900 | 2016-09-12 11:36:09 -0700 | [diff] [blame] | 159 | config QCOM_EUD |
| 160 | tristate "QTI Embedded USB Debugger (EUD)" |
| 161 | depends on ARCH_QCOM |
| 162 | select SERIAL_CORE |
| 163 | help |
| 164 | The EUD (Embedded USB Debugger) is a mini-USB hub implemented |
| 165 | on chip to support the USB-based debug and trace capabilities. |
| 166 | This module enables support for Qualcomm Technologies, Inc. |
| 167 | Embedded USB Debugger (EUD). |
| 168 | |
| 169 | If unsure, say N. |
| 170 | |
Satyajit Desai | 5255cea | 2016-08-04 16:02:50 -0700 | [diff] [blame] | 171 | config QCOM_WATCHDOG_V2 |
| 172 | bool "Qualcomm Watchdog Support" |
| 173 | depends on ARCH_QCOM |
| 174 | help |
| 175 | This enables the watchdog module. It causes kernel panic if the |
| 176 | watchdog times out. It allows for detection of cpu hangs and |
| 177 | deadlocks. It does not run during the bootup process, so it will |
| 178 | not catch any early lockups. |
Satyajit Desai | 11e470c | 2016-08-10 15:36:45 -0700 | [diff] [blame] | 179 | |
| 180 | config QCOM_MEMORY_DUMP_V2 |
| 181 | bool "QCOM Memory Dump V2 Support" |
| 182 | help |
| 183 | This enables memory dump feature. It allows various client |
| 184 | subsystems to register respective dump regions. At the time |
| 185 | of deadlocks or cpu hangs these dump regions are captured to |
| 186 | give a snapshot of the system at the time of the crash. |
David Dai | 87584a4 | 2016-09-01 17:13:35 -0700 | [diff] [blame] | 187 | |
| 188 | config QCOM_BUS_SCALING |
| 189 | bool "Bus scaling driver" |
| 190 | help |
| 191 | This option enables bus scaling on MSM devices. Bus scaling |
| 192 | allows devices to request the clocks be set to rates sufficient |
| 193 | for the active devices needs without keeping the clocks at max |
| 194 | frequency when a slower speed is sufficient. |
Chris Lew | b4791c3 | 2016-08-01 11:58:55 -0700 | [diff] [blame] | 195 | |
Patrick Daly | a125d5d | 2016-09-30 16:16:10 -0700 | [diff] [blame] | 196 | config QCOM_SECURE_BUFFER |
| 197 | bool "Helper functions for securing buffers through TZ" |
| 198 | help |
| 199 | Say 'Y' here for targets that need to call into TZ to secure |
| 200 | memory buffers. This ensures that only the correct clients can |
| 201 | use this memory and no unauthorized access is made to the |
| 202 | buffer |
| 203 | |
Chris Lew | b4791c3 | 2016-08-01 11:58:55 -0700 | [diff] [blame] | 204 | config MSM_SMEM |
| 205 | depends on ARCH_QCOM |
| 206 | depends on REMOTE_SPINLOCK_MSM |
| 207 | bool "MSM Shared Memory (SMEM)" |
| 208 | help |
| 209 | Support for the shared memory interface between the various |
| 210 | processors in the System on a Chip (SoC) which allows basic |
| 211 | inter-processor communication. |