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_GSBI 39 tristate "QCOM General Serial Bus Interface" 40 depends on ARCH_QCOM || COMPILE_TEST 41 select MFD_SYSCON 42 help 43 Say y here to enable GSBI support. The GSBI provides control 44 functions for connecting the underlying serial UART, SPI, and I2C 45 devices to the output pins. 46 47config QCOM_LLCC 48 tristate "Qualcomm Technologies, Inc. LLCC driver" 49 depends on ARCH_QCOM || COMPILE_TEST 50 help 51 Qualcomm Technologies, Inc. platform specific 52 Last Level Cache Controller(LLCC) driver for platforms such as, 53 SDM845. This provides interfaces to clients that use the LLCC. 54 Say yes here to enable LLCC slice driver. 55 56config QCOM_MDT_LOADER 57 tristate 58 select QCOM_SCM 59 60config QCOM_OCMEM 61 tristate "Qualcomm On Chip Memory (OCMEM) driver" 62 depends on ARCH_QCOM 63 select QCOM_SCM 64 help 65 The On Chip Memory (OCMEM) allocator allows various clients to 66 allocate memory from OCMEM based on performance, latency and power 67 requirements. This is typically used by the GPU, camera/video, and 68 audio components on some Snapdragon SoCs. 69 70config QCOM_PDR_HELPERS 71 tristate 72 select QCOM_QMI_HELPERS 73 74config QCOM_QMI_HELPERS 75 tristate 76 depends on NET 77 78config QCOM_RMTFS_MEM 79 tristate "Qualcomm Remote Filesystem memory driver" 80 depends on ARCH_QCOM 81 select QCOM_SCM 82 help 83 The Qualcomm remote filesystem memory driver is used for allocating 84 and exposing regions of shared memory with remote processors for the 85 purpose of exchanging sector-data between the remote filesystem 86 service and its clients. 87 88 Say y here if you intend to boot the modem remoteproc. 89 90config QCOM_RPMH 91 bool "Qualcomm RPM-Hardened (RPMH) Communication" 92 depends on ARCH_QCOM || COMPILE_TEST 93 help 94 Support for communication with the hardened-RPM blocks in 95 Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an 96 internal bus to transmit state requests for shared resources. A set 97 of hardware components aggregate requests for these resources and 98 help apply the aggregated state on the resource. 99 100config QCOM_RPMHPD 101 tristate "Qualcomm RPMh Power domain driver" 102 depends on QCOM_RPMH && QCOM_COMMAND_DB 103 help 104 QCOM RPMh Power domain driver to support power-domains with 105 performance states. The driver communicates a performance state 106 value to RPMh which then translates it into corresponding voltage 107 for the voltage rail. 108 109config QCOM_RPMPD 110 tristate "Qualcomm RPM Power domain driver" 111 depends on QCOM_SMD_RPM 112 help 113 QCOM RPM Power domain driver to support power-domains with 114 performance states. The driver communicates a performance state 115 value to RPM which then translates it into corresponding voltage 116 for the voltage rail. 117 118config QCOM_SMEM 119 tristate "Qualcomm Shared Memory Manager (SMEM)" 120 depends on ARCH_QCOM || COMPILE_TEST 121 depends on HWSPINLOCK 122 help 123 Say y here to enable support for the Qualcomm Shared Memory Manager. 124 The driver provides an interface to items in a heap shared among all 125 processors in a Qualcomm platform. 126 127config QCOM_SMD_RPM 128 tristate "Qualcomm Resource Power Manager (RPM) over SMD" 129 depends on ARCH_QCOM || COMPILE_TEST 130 depends on RPMSG 131 help 132 If you say yes to this option, support will be included for the 133 Resource Power Manager system found in the Qualcomm 8974 based 134 devices. 135 136 This is required to access many regulators, clocks and bus 137 frequencies controlled by the RPM on these devices. 138 139 Say M here if you want to include support for the Qualcomm RPM as a 140 module. This will build a module called "qcom-smd-rpm". 141 142config QCOM_SMEM_STATE 143 bool 144 145config QCOM_SMP2P 146 tristate "Qualcomm Shared Memory Point to Point support" 147 depends on MAILBOX 148 depends on QCOM_SMEM 149 select QCOM_SMEM_STATE 150 select IRQ_DOMAIN 151 help 152 Say yes here to support the Qualcomm Shared Memory Point to Point 153 protocol. 154 155config QCOM_SMSM 156 tristate "Qualcomm Shared Memory State Machine" 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 State Machine. 162 The state machine is represented by bits in shared memory. 163 164config QCOM_SOCINFO 165 tristate "Qualcomm socinfo driver" 166 depends on QCOM_SMEM 167 select SOC_BUS 168 help 169 Say yes here to support the Qualcomm socinfo driver, providing 170 information about the SoC to user space. 171 172config QCOM_WCNSS_CTRL 173 tristate "Qualcomm WCNSS control driver" 174 depends on ARCH_QCOM || COMPILE_TEST 175 depends on RPMSG 176 help 177 Client driver for the WCNSS_CTRL SMD channel, used to download nv 178 firmware to a newly booted WCNSS chip. 179 180config QCOM_APR 181 tristate "Qualcomm APR Bus (Asynchronous Packet Router)" 182 depends on ARCH_QCOM || COMPILE_TEST 183 depends on RPMSG 184 depends on NET 185 select QCOM_PDR_HELPERS 186 help 187 Enable APR IPC protocol support between 188 application processor and QDSP6. APR is 189 used by audio driver to configure QDSP6 190 ASM, ADM and AFE modules. 191endmenu 192