CONFIG_QCOM_SOC Qualcomm SoC drivers
This collection of drivers is specific to Qualcomm System-on-Chips and most of them are necessary for a fully functional boot of the Linux kernel (plus a few debugging drivers). Drivers can be skipped when building Linux kernel not intended to run said processors.
- Depends on
|| COMPILE_TEST
If QCOM_SOC
CONFIG_QCOM_AOSS_QMP Qualcomm AOSS Driver
- Off
- Module
- Built in
This driver provides the means of communicating with and controlling the low-power state for resources related to the remoteproc subsystems as well as controlling the debug clocks exposed by the Always On Subsystem (AOSS) using Qualcomm Messaging Protocol (QMP).
- Depends on
QCOM_SOC && MAILBOX && COMMON_CLK && - Selects
PM_GENERIC_DOMAINS if QCOM_SOC && MAILBOX && COMMON_CLK &&
CONFIG_QCOM_COMMAND_DB Qualcomm Command DB
- Off
- Module
- Built in
Command DB queries shared memory by key string for shared system resources. Platform drivers that require to set state of a shared resource on a RPM-hardened platform must use this database to get SoC specific identifier and information for the shared resources.
- Depends on
QCOM_SOC && OF_RESERVED_MEM
CONFIG_QCOM_GENI_SE Qualcomm GENI Serial Engine Driver
- Off
- Module
- Built in
This driver is used to manage Generic Interface (GENI) firmware based Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This driver is also used to manage the common aspects of multiple Serial Engines present in the QUP.
CONFIG_QCOM_GSBI Qualcomm General Serial Bus Interface
- Off
- Module
- Built in
Say y here to enable GSBI support. The GSBI provides control functions for connecting the underlying serial UART, SPI, and I2C devices to the output pins.
- Depends on
QCOM_SOC && (ARM || COMPILE_TEST) - Selects
MFD_SYSCON if QCOM_SOC && (ARM || COMPILE_TEST)
CONFIG_QCOM_LLCC Qualcomm LLCC driver
- Off
- Module
- Built in
Qualcomm Technologies, Inc. platform specific Last Level Cache Controller(LLCC) driver for platforms such as, SDM845. This provides interfaces to clients that use the LLCC. Say yes here to enable LLCC slice driver.
- Selects
REGMAP_MMIO if QCOM_SOC
CONFIG_QCOM_OCMEM Qualcomm On Chip Memory (OCMEM) driver
- Off
- Module
- Built in
The On Chip Memory (OCMEM) allocator allows various clients to allocate memory from OCMEM based on performance, latency and power requirements. This is typically used by the GPU, camera/video, and audio components on some Snapdragon SoCs.
CONFIG_QCOM_PD_MAPPER Qualcomm Protection Domain Mapper
- Off
- Module
- Built in
The Protection Domain Mapper maps registered services to the domains and instances handled by the remote DSPs. This is a kernel-space implementation of the service. It is a simpler alternative to the userspace daemon.
- Depends on
QCOM_SOC && NET && QRTR - Selects
QCOM_QMI_HELPERS if QCOM_SOC && NET && QRTR - Selects
QCOM_PDR_MSG if QCOM_SOC && NET && QRTR - Selects
AUXILIARY_BUS if QCOM_SOC && NET && QRTR
CONFIG_QCOM_PMIC_PDCHARGER_ULOG Qualcomm PMIC PDCharger ULOG driver
- Off
- Module
- Built in
The Qualcomm PMIC PDCharger ULOG driver provides access to logs of the ADSP firmware PDCharger module in charge of Battery and Power Delivery on modern systems.
Say yes here to support PDCharger ULOG event tracing on modern Qualcomm platforms.
- Depends on
QCOM_SOC && RPMSG && EVENT_TRACING
CONFIG_QCOM_PMIC_GLINK Qualcomm PMIC GLINK driver
- Off
- Module
- Built in
The Qualcomm PMIC GLINK driver provides access, over GLINK, to the USB and battery firmware running on one of the coprocessors in several modern Qualcomm platforms.
Say yes here to support USB-C and battery status on modern Qualcomm platforms.
- Depends on
QCOM_SOC && RPMSG && TYPEC && DRM && NET && OF && (ARM64 || COMPILE_TEST) - Selects
AUXILIARY_BUS if QCOM_SOC && RPMSG && TYPEC && DRM && NET && OF && (ARM64 || COMPILE_TEST) - Selects
QCOM_PDR_HELPERS if QCOM_SOC && RPMSG && TYPEC && DRM && NET && OF && (ARM64 || COMPILE_TEST) - Selects
DRM_AUX_HPD_BRIDGE if QCOM_SOC && RPMSG && TYPEC && DRM && NET && OF && (ARM64 || COMPILE_TEST)
CONFIG_QCOM_RAMP_CTRL Qualcomm Ramp Controller driver
- Off
- Module
- Built in
The Ramp Controller is used to program the sequence ID for pulse swallowing, enable sequence and link sequence IDs for the CPU cores on some Qualcomm SoCs. Say y here to enable support for the ramp controller.
CONFIG_QCOM_RMTFS_MEM Qualcomm Remote Filesystem memory driver
- Off
- Module
- Built in
The Qualcomm remote filesystem memory driver is used for allocating and exposing regions of shared memory with remote processors for the purpose of exchanging sector-data between the remote filesystem service and its clients.
Say y here if you intend to boot the modem remoteproc.
CONFIG_QCOM_RPM_MASTER_STATS Qualcomm RPM Master stats
- Off
- Module
- Built in
The RPM Master sleep stats driver provides detailed per-subsystem sleep/wake data, read from the RPM message RAM. It can be used to assess whether all the low-power modes available are entered as expected or to check which part of the SoC prevents it from sleeping.
Say y here if you intend to debug or monitor platform sleep.
CONFIG_QCOM_RPMH Qualcomm RPM-Hardened (RPMH) Communication
- Off
- Module
- Built in
Support for communication with the hardened-RPM blocks in Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an internal bus to transmit state requests for shared resources. A set of hardware components aggregate requests for these resources and help apply the aggregated state on the resource.
- Depends on
QCOM_SOC && (QCOM_COMMAND_DB || !QCOM_COMMAND_DB)
CONFIG_QCOM_SMEM Qualcomm Shared Memory Manager (SMEM)
- Off
- Module
- Built in
Say y here to enable support for the Qualcomm Shared Memory Manager. The driver provides an interface to items in a heap shared among all processors in a Qualcomm platform.
- Depends on
QCOM_SOC && HWSPINLOCK
CONFIG_QCOM_SMD_RPM Qualcomm Resource Power Manager (RPM) over SMD
- Off
- Module
- Built in
If you say yes to this option, support will be included for the Resource Power Manager system found in the Qualcomm 8974 based devices.
This is required to access many regulators, clocks and bus frequencies controlled by the RPM on these devices.
Say M here if you want to include support for the Qualcomm RPM as a module. This will build a module called "qcom-smd-rpm".
- Depends on
QCOM_SOC && RPMSG && (RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n)
CONFIG_QCOM_SMEM_STATE
CONFIG_QCOM_SMP2P Qualcomm Shared Memory Point to Point support
- Off
- Module
- Built in
Say yes here to support the Qualcomm Shared Memory Point to Point protocol.
CONFIG_QCOM_SMSM Qualcomm Shared Memory State Machine
- Off
- Module
- Built in
Say yes here to support the Qualcomm Shared Memory State Machine. The state machine is represented by bits in shared memory.
CONFIG_QCOM_SOCINFO Qualcomm socinfo driver
- Off
- Module
- Built in
Say yes here to support the Qualcomm socinfo driver, providing information about the SoC to user space.
CONFIG_QCOM_SPM Qualcomm Subsystem Power Manager (SPM)
- Off
- Module
- Built in
Enable the support for the Qualcomm Subsystem Power Manager, used to manage cores, L2 low power modes and to configure the internal Adaptive Voltage Scaler parameters, where supported.
CONFIG_QCOM_STATS Qualcomm Sleep stats driver
- Off
- Module
- Built in
Qualcomm Technologies, Inc. (QTI) Sleep stats driver to read the shared memory exported by the remote processor related to various SoC level low power modes statistics and export to debugfs interface.
- Depends on
QCOM_SOC && (DEBUG_FS || COMPILE_TEST) && QCOM_SMEM && (QCOM_AOSS_QMP || QCOM_AOSS_QMP=n)
CONFIG_QCOM_WCNSS_CTRL Qualcomm WCNSS control driver
- Off
- Module
- Built in
Client driver for the WCNSS_CTRL SMD channel, used to download nv firmware to a newly booted WCNSS chip.
CONFIG_QCOM_APR Qualcomm APR/GPR Bus (Asynchronous/Generic Packet Router)
- Off
- Module
- Built in
Enable APR IPC protocol support between application processor and QDSP6. APR is used by audio driver to configure QDSP6 ASM, ADM and AFE modules.
CONFIG_QCOM_ICC_BWMON Qualcomm Interconnect Bandwidth Monitor driver
- Off
- Module
- Built in
Sets up driver monitoring bandwidth on various interconnects and based on that voting for interconnect bandwidth, adjusting their speed to current demand. Current implementation brings support for BWMON v4, used for example on SDM845 to measure bandwidth between CPU (gladiator_noc) and Last Level Cache (memnoc). Usage of this BWMON allows to remove some of the fixed bandwidth votes from cpufreq (CPU nodes) thus achieve high memory throughput even with lower CPU frequencies.
- Depends on
QCOM_SOC && (ARM64 || COMPILE_TEST) - Selects
PM_OPP if QCOM_SOC && (ARM64 || COMPILE_TEST) - Selects
REGMAP_MMIO if QCOM_SOC && (ARM64 || COMPILE_TEST)
CONFIG_QCOM_PBS PBS trigger support for Qualcomm PMICs
- Off
- Module
- Built in
This driver supports configuring software programmable boot sequencer (PBS) trigger event through PBS RAM on Qualcomm Technologies, Inc. PMICs. This module provides the APIs to the client drivers that wants to send the PBS trigger event to the PBS RAM.
CONFIG_QCOM_INLINE_CRYPTO_ENGINE
- Off
- Module
- Built in
- Selects
QCOM_SCM
CONFIG_QCOM_KRYO_L2_ACCESSORS
- Depends on
ARM64
CONFIG_QCOM_MDT_LOADER
- Off
- Module
- Built in
- Selects
QCOM_SCM
CONFIG_QCOM_PDR_HELPERS
- Off
- Module
- Built in
- Depends on
NET - Selects
QCOM_QMI_HELPERS if NET - Selects
QCOM_PDR_MSG if NET
CONFIG_QCOM_PDR_MSG
- Off
- Module
- Built in
CONFIG_QCOM_QMI_HELPERS
- Off
- Module
- Built in
- Depends on
NET
CONFIG_QCOM_QMI_TMD Qualcomm remote subsystem TMD
- Off
- Module
- Built in
This enables Qualcomm Messaging Interface (QMI) based Thermal Mitigation Device (TMD) support for Qualcomm remote subsystems. It manages TMD messaging and handles QMI communication with remote processors to exchange mitigation state and apply thermal mitigation requests.
- Depends on
NET && ( || COMPILE_TEST) - Selects
QRTR if NET && ( || COMPILE_TEST) - Selects
QCOM_QMI_HELPERS if NET && ( || COMPILE_TEST)
CONFIG_QCOM_UBWC_CONFIG
- Off
- Module
- Built in
Most Qualcomm SoCs feature a number of Universal Bandwidth Compression (UBWC) engines across various IP blocks, which need to be initialized with coherent configuration data. This module functions as a single source of truth for that information.
- Depends on
QCOM_SMEM