2019-05-19 19:07:45 +07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-04-24 23:31:21 +07:00
|
|
|
#
|
|
|
|
# QCOM Soc drivers
|
|
|
|
#
|
2017-07-26 22:27:16 +07:00
|
|
|
menu "Qualcomm SoC drivers"
|
|
|
|
|
2019-06-12 11:45:34 +07:00
|
|
|
config QCOM_AOSS_QMP
|
|
|
|
tristate "Qualcomm AOSS Driver"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on MAILBOX
|
2019-06-15 04:47:48 +07:00
|
|
|
depends on COMMON_CLK && PM
|
2019-06-12 11:45:34 +07:00
|
|
|
select 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).
|
|
|
|
|
2018-04-11 00:57:23 +07:00
|
|
|
config QCOM_COMMAND_DB
|
|
|
|
bool "Qualcomm Command DB"
|
2018-05-25 23:08:24 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on OF_RESERVED_MEM
|
2018-04-11 00:57:23 +07:00
|
|
|
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.
|
|
|
|
|
2020-10-06 23:05:13 +07:00
|
|
|
config QCOM_CPR
|
|
|
|
tristate "QCOM Core Power Reduction (CPR) support"
|
|
|
|
depends on ARCH_QCOM && HAS_IOMEM
|
|
|
|
select PM_OPP
|
|
|
|
select REGMAP
|
|
|
|
help
|
|
|
|
Say Y here to enable support for the CPR hardware found on Qualcomm
|
|
|
|
SoCs like QCS404.
|
|
|
|
|
|
|
|
This driver populates CPU OPPs tables and makes adjustments to the
|
|
|
|
tables based on feedback from the CPR hardware. If you want to do
|
|
|
|
CPUfrequency scaling say Y here.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called qcom-cpr
|
|
|
|
|
2018-03-31 00:08:17 +07:00
|
|
|
config QCOM_GENI_SE
|
|
|
|
tristate "QCOM GENI Serial Engine Driver"
|
|
|
|
depends on ARCH_QCOM || 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.
|
|
|
|
|
2014-04-24 23:31:21 +07:00
|
|
|
config QCOM_GSBI
|
2019-11-20 20:39:25 +07:00
|
|
|
tristate "QCOM General Serial Bus Interface"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
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.
|
2014-04-24 23:31:21 +07:00
|
|
|
|
2018-05-24 07:35:21 +07:00
|
|
|
config QCOM_LLCC
|
|
|
|
tristate "Qualcomm Technologies, Inc. LLCC driver"
|
2018-08-29 14:57:23 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-05-24 07:35:21 +07:00
|
|
|
help
|
|
|
|
Qualcomm Technologies, Inc. platform specific
|
2019-07-18 20:02:36 +07:00
|
|
|
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.
|
2018-05-24 07:35:21 +07:00
|
|
|
|
2020-07-03 15:49:41 +07:00
|
|
|
config QCOM_KRYO_L2_ACCESSORS
|
|
|
|
bool
|
|
|
|
depends on ARCH_QCOM && ARM64 || COMPILE_TEST
|
|
|
|
|
2017-01-27 18:12:57 +07:00
|
|
|
config QCOM_MDT_LOADER
|
|
|
|
tristate
|
|
|
|
select QCOM_SCM
|
|
|
|
|
2019-08-23 19:16:35 +07:00
|
|
|
config QCOM_OCMEM
|
|
|
|
tristate "Qualcomm On Chip Memory (OCMEM) driver"
|
|
|
|
depends on ARCH_QCOM
|
|
|
|
select QCOM_SCM
|
|
|
|
help
|
2019-11-20 20:39:25 +07:00
|
|
|
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.
|
2019-08-23 19:16:35 +07:00
|
|
|
|
2020-03-12 19:08:40 +07:00
|
|
|
config QCOM_PDR_HELPERS
|
|
|
|
tristate
|
|
|
|
select QCOM_QMI_HELPERS
|
|
|
|
|
2017-12-06 00:43:06 +07:00
|
|
|
config QCOM_QMI_HELPERS
|
|
|
|
tristate
|
2018-08-29 14:57:23 +07:00
|
|
|
depends on NET
|
2017-12-06 00:43:06 +07:00
|
|
|
|
2017-10-17 01:17:08 +07:00
|
|
|
config QCOM_RMTFS_MEM
|
|
|
|
tristate "Qualcomm Remote Filesystem memory driver"
|
|
|
|
depends on ARCH_QCOM
|
2018-02-13 08:37:23 +07:00
|
|
|
select QCOM_SCM
|
2017-10-17 01:17:08 +07:00
|
|
|
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.
|
|
|
|
|
2018-06-20 20:26:58 +07:00
|
|
|
config QCOM_RPMH
|
|
|
|
bool "Qualcomm RPM-Hardened (RPMH) Communication"
|
2020-05-29 18:02:38 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-06-20 20:26:58 +07:00
|
|
|
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. A set
|
|
|
|
of hardware components aggregate requests for these resources and
|
|
|
|
help apply the aggregated state on the resource.
|
|
|
|
|
2019-01-10 11:02:07 +07:00
|
|
|
config QCOM_RPMHPD
|
2020-03-27 05:44:59 +07:00
|
|
|
tristate "Qualcomm RPMh Power domain driver"
|
2019-01-10 11:02:07 +07:00
|
|
|
depends on QCOM_RPMH && 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.
|
|
|
|
|
2019-01-10 11:02:04 +07:00
|
|
|
config QCOM_RPMPD
|
2020-03-27 05:44:57 +07:00
|
|
|
tristate "Qualcomm RPM Power domain driver"
|
|
|
|
depends on QCOM_SMD_RPM
|
2019-01-10 11:02:04 +07:00
|
|
|
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.
|
|
|
|
|
2015-08-29 01:23:33 +07:00
|
|
|
config QCOM_SMEM
|
|
|
|
tristate "Qualcomm Shared Memory Manager (SMEM)"
|
2018-08-29 14:57:23 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2015-10-13 22:05:39 +07:00
|
|
|
depends on HWSPINLOCK
|
2015-08-29 01:23:33 +07:00
|
|
|
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.
|
|
|
|
|
2015-07-28 10:20:32 +07:00
|
|
|
config QCOM_SMD_RPM
|
|
|
|
tristate "Qualcomm Resource Power Manager (RPM) over SMD"
|
2018-08-29 14:57:23 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-08-29 14:57:19 +07:00
|
|
|
depends on RPMSG
|
2015-07-28 10:20:32 +07:00
|
|
|
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 M here if you want to include support for the Qualcomm RPM as a
|
|
|
|
module. This will build a module called "qcom-smd-rpm".
|
2015-09-25 08:25:01 +07:00
|
|
|
|
|
|
|
config QCOM_SMEM_STATE
|
|
|
|
bool
|
2015-09-25 08:25:02 +07:00
|
|
|
|
2015-09-25 08:25:03 +07:00
|
|
|
config QCOM_SMP2P
|
2015-11-20 17:32:21 +07:00
|
|
|
tristate "Qualcomm Shared Memory Point to Point support"
|
2017-11-30 07:00:40 +07:00
|
|
|
depends on MAILBOX
|
2015-09-25 08:25:03 +07:00
|
|
|
depends on QCOM_SMEM
|
|
|
|
select QCOM_SMEM_STATE
|
2018-08-29 14:57:17 +07:00
|
|
|
select IRQ_DOMAIN
|
2015-09-25 08:25:03 +07:00
|
|
|
help
|
|
|
|
Say yes here to support the Qualcomm Shared Memory Point to Point
|
|
|
|
protocol.
|
|
|
|
|
2015-09-25 08:25:02 +07:00
|
|
|
config QCOM_SMSM
|
2015-11-20 17:32:21 +07:00
|
|
|
tristate "Qualcomm Shared Memory State Machine"
|
2015-09-25 08:25:02 +07:00
|
|
|
depends on QCOM_SMEM
|
|
|
|
select QCOM_SMEM_STATE
|
2018-08-29 14:57:18 +07:00
|
|
|
select IRQ_DOMAIN
|
2015-09-25 08:25:02 +07:00
|
|
|
help
|
|
|
|
Say yes here to support the Qualcomm Shared Memory State Machine.
|
|
|
|
The state machine is represented by bits in shared memory.
|
2015-09-22 00:52:55 +07:00
|
|
|
|
2019-07-24 05:35:13 +07:00
|
|
|
config QCOM_SOCINFO
|
|
|
|
tristate "Qualcomm socinfo driver"
|
|
|
|
depends on QCOM_SMEM
|
|
|
|
select SOC_BUS
|
|
|
|
help
|
|
|
|
Say yes here to support the Qualcomm socinfo driver, providing
|
|
|
|
information about the SoC to user space.
|
|
|
|
|
2015-09-22 00:52:55 +07:00
|
|
|
config QCOM_WCNSS_CTRL
|
|
|
|
tristate "Qualcomm WCNSS control driver"
|
2018-08-29 14:57:23 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2017-03-28 12:26:33 +07:00
|
|
|
depends on RPMSG
|
2015-09-22 00:52:55 +07:00
|
|
|
help
|
|
|
|
Client driver for the WCNSS_CTRL SMD channel, used to download nv
|
|
|
|
firmware to a newly booted WCNSS chip.
|
2017-07-26 22:27:16 +07:00
|
|
|
|
2018-05-09 19:56:13 +07:00
|
|
|
config QCOM_APR
|
|
|
|
tristate "Qualcomm APR Bus (Asynchronous Packet Router)"
|
2018-08-29 14:57:23 +07:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-05-09 19:56:13 +07:00
|
|
|
depends on RPMSG
|
2020-03-17 05:03:53 +07:00
|
|
|
depends on NET
|
2020-03-12 19:08:42 +07:00
|
|
|
select QCOM_PDR_HELPERS
|
2018-05-09 19:56:13 +07:00
|
|
|
help
|
2019-11-20 20:39:25 +07:00
|
|
|
Enable APR IPC protocol support between
|
|
|
|
application processor and QDSP6. APR is
|
|
|
|
used by audio driver to configure QDSP6
|
|
|
|
ASM, ADM and AFE modules.
|
2017-07-26 22:27:16 +07:00
|
|
|
endmenu
|