Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# QCOM Soc drivers
#
menu "Qualcomm SoC drivers"

config CONFIG_QCOM_AOSS_QMP
	tristate "Qualcomm AOSS Driver"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_MAILBOX
	depends on CONFIG_COMMON_CLK && CONFIG_PM
	select CONFIG_PM_GENERIC_DOMAINS
	help
	  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).

config CONFIG_QCOM_COMMAND_DB
	bool "Qualcomm Command DB"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_OF_RESERVED_MEM
	help
	  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.

config CONFIG_QCOM_GENI_SE
	tristate "QCOM GENI Serial Engine Driver"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	help
	  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 CONFIG_QCOM_GLINK_SSR
	tristate "Qualcomm Glink SSR driver"
	depends on CONFIG_RPMSG
	depends on CONFIG_QCOM_RPROC_COMMON
	help
	  Say y here to enable GLINK SSR support. The GLINK SSR driver
	  implements the SSR protocol for notifying the remote processor about
	  neighboring subsystems going up or down.

config CONFIG_QCOM_GSBI
        tristate "QCOM General Serial Bus Interface"
        depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
        select CONFIG_MFD_SYSCON
        help
          Say y here to enable GSBI support.  The GSBI provides control
          functions for connecting the underlying serial UART, CONFIG_SPI, and CONFIG_I2C
          devices to the output pins.

config CONFIG_QCOM_LLCC
	tristate "Qualcomm Technologies, Inc. LLCC driver"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	help
	  Qualcomm Technologies, Inc. platform specific
	  Last Level Cache Controller(LLCC) driver. This provides interfaces
	  to clients that use the LLCC. Say yes here to enable LLCC slice
	  driver.

config CONFIG_QCOM_SDM845_LLCC
	tristate "Qualcomm Technologies, Inc. SDM845 LLCC driver"
	depends on CONFIG_QCOM_LLCC
	help
	  Say yes here to enable the LLCC driver for SDM845. This provides
	  data required to configure LLCC so that clients can start using the
	  LLCC slices.

config CONFIG_QCOM_MDT_LOADER
	tristate
	select CONFIG_QCOM_SCM

config CONFIG_QCOM_PM
	bool "Qualcomm Power Management"
	depends on CONFIG_ARCH_QCOM && !CONFIG_ARM64
	select CONFIG_ARM_CPU_SUSPEND
	select CONFIG_QCOM_SCM
	help
	  QCOM Platform specific power driver to manage cores and L2 low power
	  modes. It interface with various system drivers to put the cores in
	  low power modes.

config CONFIG_QCOM_QMI_HELPERS
	tristate
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_NET

config CONFIG_QCOM_RMTFS_MEM
	tristate "Qualcomm Remote Filesystem memory driver"
	depends on CONFIG_ARCH_QCOM
	select CONFIG_QCOM_SCM
	help
	  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 CONFIG_QCOM_RPMH
	bool "Qualcomm RPM-Hardened (RPMH) Communication"
	depends on CONFIG_ARCH_QCOM && CONFIG_ARM64 || CONFIG_COMPILE_TEST
	help
	  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. CONFIG_A set
	  of hardware components aggregate requests for these resources and
	  help apply the aggregated state on the resource.

config CONFIG_QCOM_RPMHPD
	bool "Qualcomm RPMh Power domain driver"
	depends on CONFIG_QCOM_RPMH && CONFIG_QCOM_COMMAND_DB
	help
	  QCOM RPMh Power domain driver to support power-domains with
	  performance states. The driver communicates a performance state
	  value to RPMh which then translates it into corresponding voltage
	  for the voltage rail.

config CONFIG_QCOM_RPMPD
	bool "Qualcomm RPM Power domain driver"
	depends on CONFIG_QCOM_SMD_RPM=y
	help
	  QCOM RPM Power domain driver to support power-domains with
	  performance states. The driver communicates a performance state
	  value to RPM which then translates it into corresponding voltage
	  for the voltage rail.

config CONFIG_QCOM_SMEM
	tristate "Qualcomm Shared Memory Manager (SMEM)"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_HWSPINLOCK
	help
	  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.

config CONFIG_QCOM_SMD_RPM
	tristate "Qualcomm Resource Power Manager (RPM) over SMD"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_RPMSG
	help
	  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 CONFIG_M here if you want to include support for the Qualcomm RPM as a
	  module. This will build a module called "qcom-smd-rpm".

config CONFIG_QCOM_SMEM_STATE
	bool

config CONFIG_QCOM_SMP2P
	tristate "Qualcomm Shared Memory Point to Point support"
	depends on CONFIG_MAILBOX
	depends on CONFIG_QCOM_SMEM
	select CONFIG_QCOM_SMEM_STATE
	select CONFIG_IRQ_DOMAIN
	help
	  Say yes here to support the Qualcomm Shared Memory Point to Point
	  protocol.

config CONFIG_QCOM_SMSM
	tristate "Qualcomm Shared Memory State Machine"
	depends on CONFIG_QCOM_SMEM
	select CONFIG_QCOM_SMEM_STATE
	select CONFIG_IRQ_DOMAIN
	help
	  Say yes here to support the Qualcomm Shared Memory State Machine.
	  The state machine is represented by bits in shared memory.

config CONFIG_QCOM_SOCINFO
	tristate "Qualcomm socinfo driver"
	depends on CONFIG_QCOM_SMEM
	select CONFIG_SOC_BUS
	help
	 Say yes here to support the Qualcomm socinfo driver, providing
	 information about the SoC to user space.

config CONFIG_QCOM_WCNSS_CTRL
	tristate "Qualcomm WCNSS control driver"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_RPMSG
	help
	  Client driver for the WCNSS_CTRL SMD channel, used to download nv
	  firmware to a newly booted WCNSS chip.

config CONFIG_QCOM_APR
	tristate "Qualcomm APR Bus (Asynchronous Packet Router)"
	depends on CONFIG_ARCH_QCOM || CONFIG_COMPILE_TEST
	depends on CONFIG_RPMSG
	help
          Enable APR IPC protocol support between
          application processor and QDSP6. APR is
          used by audio driver to configure QDSP6
          ASM, ADM and AFE modules.
endmenu