1# SPDX-License-Identifier: GPL-2.0-only 2# 3# QCOM Soc drivers 4# 5menu "Qualcomm SoC drivers" 6 7config QCOM_AOSS_QMP 8 tristate "Qualcomm AOSS Driver" 9 depends on ARCH_QCOM || COMPILE_TEST 10 depends on MAILBOX 11 depends on COMMON_CLK && PM 12 select PM_GENERIC_DOMAINS 13 help 14 This driver provides the means of communicating with and controlling 15 the low-power state for resources related to the remoteproc 16 subsystems as well as controlling the debug clocks exposed by the Always On 17 Subsystem (AOSS) using Qualcomm Messaging Protocol (QMP). 18 19config QCOM_COMMAND_DB 20 bool "Qualcomm Command DB" 21 depends on ARCH_QCOM || COMPILE_TEST 22 depends on OF_RESERVED_MEM 23 help 24 Command DB queries shared memory by key string for shared system 25 resources. Platform drivers that require to set state of a shared 26 resource on a RPM-hardened platform must use this database to get 27 SoC specific identifier and information for the shared resources. 28 29config QCOM_GENI_SE 30 tristate "QCOM GENI Serial Engine Driver" 31 depends on ARCH_QCOM || COMPILE_TEST 32 help 33 This driver is used to manage Generic Interface (GENI) firmware based 34 Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This 35 driver is also used to manage the common aspects of multiple Serial 36 Engines present in the QUP. 37 38config QCOM_GLINK_SSR 39 tristate "Qualcomm Glink SSR driver" 40 depends on RPMSG 41 depends on QCOM_RPROC_COMMON 42 help 43 Say y here to enable GLINK SSR support. The GLINK SSR driver 44 implements the SSR protocol for notifying the remote processor about 45 neighboring subsystems going up or down. 46 47config QCOM_GSBI 48 tristate "QCOM General Serial Bus Interface" 49 depends on ARCH_QCOM || COMPILE_TEST 50 select MFD_SYSCON 51 help 52 Say y here to enable GSBI support. The GSBI provides control 53 functions for connecting the underlying serial UART, SPI, and I2C 54 devices to the output pins. 55 56config QCOM_LLCC 57 tristate "Qualcomm Technologies, Inc. LLCC driver" 58 depends on ARCH_QCOM || COMPILE_TEST 59 help 60 Qualcomm Technologies, Inc. platform specific 61 Last Level Cache Controller(LLCC) driver for platforms such as, 62 SDM845. This provides interfaces to clients that use the LLCC. 63 Say yes here to enable LLCC slice driver. 64 65config QCOM_MDT_LOADER 66 tristate 67 select QCOM_SCM 68 69config QCOM_OCMEM 70 tristate "Qualcomm On Chip Memory (OCMEM) driver" 71 depends on ARCH_QCOM 72 select QCOM_SCM 73 help 74 The On Chip Memory (OCMEM) allocator allows various clients to 75 allocate memory from OCMEM based on performance, latency and power 76 requirements. This is typically used by the GPU, camera/video, and 77 audio components on some Snapdragon SoCs. 78 79config QCOM_PDR_HELPERS 80 tristate 81 select QCOM_QMI_HELPERS 82 83config QCOM_QMI_HELPERS 84 tristate 85 depends on NET 86 87config QCOM_RMTFS_MEM 88 tristate "Qualcomm Remote Filesystem memory driver" 89 depends on ARCH_QCOM 90 select QCOM_SCM 91 help 92 The Qualcomm remote filesystem memory driver is used for allocating 93 and exposing regions of shared memory with remote processors for the 94 purpose of exchanging sector-data between the remote filesystem 95 service and its clients. 96 97 Say y here if you intend to boot the modem remoteproc. 98 99config QCOM_RPMH 100 bool "Qualcomm RPM-Hardened (RPMH) Communication" 101 depends on ARCH_QCOM && ARM64 || COMPILE_TEST 102 help 103 Support for communication with the hardened-RPM blocks in 104 Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an 105 internal bus to transmit state requests for shared resources. A set 106 of hardware components aggregate requests for these resources and 107 help apply the aggregated state on the resource. 108 109config QCOM_RPMHPD 110 bool "Qualcomm RPMh Power domain driver" 111 depends on QCOM_RPMH && QCOM_COMMAND_DB 112 help 113 QCOM RPMh Power domain driver to support power-domains with 114 performance states. The driver communicates a performance state 115 value to RPMh which then translates it into corresponding voltage 116 for the voltage rail. 117 118config QCOM_RPMPD 119 bool "Qualcomm RPM Power domain driver" 120 depends on QCOM_SMD_RPM=y 121 help 122 QCOM RPM Power domain driver to support power-domains with 123 performance states. The driver communicates a performance state 124 value to RPM which then translates it into corresponding voltage 125 for the voltage rail. 126 127config QCOM_SMEM 128 tristate "Qualcomm Shared Memory Manager (SMEM)" 129 depends on ARCH_QCOM || COMPILE_TEST 130 depends on HWSPINLOCK 131 help 132 Say y here to enable support for the Qualcomm Shared Memory Manager. 133 The driver provides an interface to items in a heap shared among all 134 processors in a Qualcomm platform. 135 136config QCOM_SMD_RPM 137 tristate "Qualcomm Resource Power Manager (RPM) over SMD" 138 depends on ARCH_QCOM || COMPILE_TEST 139 depends on RPMSG 140 help 141 If you say yes to this option, support will be included for the 142 Resource Power Manager system found in the Qualcomm 8974 based 143 devices. 144 145 This is required to access many regulators, clocks and bus 146 frequencies controlled by the RPM on these devices. 147 148 Say M here if you want to include support for the Qualcomm RPM as a 149 module. This will build a module called "qcom-smd-rpm". 150 151config QCOM_SMEM_STATE 152 bool 153 154config QCOM_SMP2P 155 tristate "Qualcomm Shared Memory Point to Point support" 156 depends on MAILBOX 157 depends on QCOM_SMEM 158 select QCOM_SMEM_STATE 159 select IRQ_DOMAIN 160 help 161 Say yes here to support the Qualcomm Shared Memory Point to Point 162 protocol. 163 164config QCOM_SMSM 165 tristate "Qualcomm Shared Memory State Machine" 166 depends on QCOM_SMEM 167 select QCOM_SMEM_STATE 168 select IRQ_DOMAIN 169 help 170 Say yes here to support the Qualcomm Shared Memory State Machine. 171 The state machine is represented by bits in shared memory. 172 173config QCOM_SOCINFO 174 tristate "Qualcomm socinfo driver" 175 depends on QCOM_SMEM 176 select SOC_BUS 177 help 178 Say yes here to support the Qualcomm socinfo driver, providing 179 information about the SoC to user space. 180 181config QCOM_WCNSS_CTRL 182 tristate "Qualcomm WCNSS control driver" 183 depends on ARCH_QCOM || COMPILE_TEST 184 depends on RPMSG 185 help 186 Client driver for the WCNSS_CTRL SMD channel, used to download nv 187 firmware to a newly booted WCNSS chip. 188 189config QCOM_APR 190 tristate "Qualcomm APR Bus (Asynchronous Packet Router)" 191 depends on ARCH_QCOM || COMPILE_TEST 192 depends on RPMSG 193 depends on NET 194 select QCOM_PDR_HELPERS 195 help 196 Enable APR IPC protocol support between 197 application processor and QDSP6. APR is 198 used by audio driver to configure QDSP6 199 ASM, ADM and AFE modules. 200endmenu 201