2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-04-24 16:31:21 +00:00
|
|
|
#
|
|
|
|
# QCOM Soc drivers
|
|
|
|
#
|
2017-07-26 15:27:16 +00:00
|
|
|
menu "Qualcomm SoC drivers"
|
|
|
|
|
2019-06-12 04:45:34 +00:00
|
|
|
config QCOM_AOSS_QMP
|
|
|
|
tristate "Qualcomm AOSS Driver"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on MAILBOX
|
2019-06-14 21:47:48 +00:00
|
|
|
depends on COMMON_CLK && PM
|
2019-06-12 04:45:34 +00: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-10 17:57:23 +00:00
|
|
|
config QCOM_COMMAND_DB
|
|
|
|
bool "Qualcomm Command DB"
|
2018-05-25 16:08:24 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on OF_RESERVED_MEM
|
2018-04-10 17:57:23 +00: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.
|
|
|
|
|
2018-03-30 17:08:17 +00: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 16:31:21 +00:00
|
|
|
config QCOM_GSBI
|
2019-11-20 13:39:25 +00: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 16:31:21 +00:00
|
|
|
|
2018-05-24 00:35:21 +00:00
|
|
|
config QCOM_LLCC
|
|
|
|
tristate "Qualcomm Technologies, Inc. LLCC driver"
|
2018-08-29 07:57:23 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-05-24 00:35:21 +00:00
|
|
|
help
|
|
|
|
Qualcomm Technologies, Inc. platform specific
|
2019-07-18 13:02:36 +00: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 00:35:21 +00:00
|
|
|
|
2017-01-27 11:12:57 +00:00
|
|
|
config QCOM_MDT_LOADER
|
|
|
|
tristate
|
|
|
|
select QCOM_SCM
|
|
|
|
|
2019-08-23 12:16:35 +00:00
|
|
|
config QCOM_OCMEM
|
|
|
|
tristate "Qualcomm On Chip Memory (OCMEM) driver"
|
|
|
|
depends on ARCH_QCOM
|
|
|
|
select QCOM_SCM
|
|
|
|
help
|
2019-11-20 13:39:25 +00: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 12:16:35 +00:00
|
|
|
|
2020-03-12 12:08:40 +00:00
|
|
|
config QCOM_PDR_HELPERS
|
|
|
|
tristate
|
|
|
|
select QCOM_QMI_HELPERS
|
|
|
|
|
2017-12-05 17:43:06 +00:00
|
|
|
config QCOM_QMI_HELPERS
|
|
|
|
tristate
|
2018-08-29 07:57:23 +00:00
|
|
|
depends on NET
|
2017-12-05 17:43:06 +00:00
|
|
|
|
2017-10-16 18:17:08 +00:00
|
|
|
config QCOM_RMTFS_MEM
|
|
|
|
tristate "Qualcomm Remote Filesystem memory driver"
|
|
|
|
depends on ARCH_QCOM
|
2018-02-13 01:37:23 +00:00
|
|
|
select QCOM_SCM
|
2017-10-16 18:17:08 +00: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 13:26:58 +00:00
|
|
|
config QCOM_RPMH
|
|
|
|
bool "Qualcomm RPM-Hardened (RPMH) Communication"
|
2018-08-29 07:57:20 +00:00
|
|
|
depends on ARCH_QCOM && ARM64 || COMPILE_TEST
|
2018-06-20 13:26:58 +00: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 04:02:07 +00:00
|
|
|
config QCOM_RPMHPD
|
2020-03-26 22:44:59 +00:00
|
|
|
tristate "Qualcomm RPMh Power domain driver"
|
2019-01-10 04:02:07 +00: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 04:02:04 +00:00
|
|
|
config QCOM_RPMPD
|
2020-03-26 22:44:57 +00:00
|
|
|
tristate "Qualcomm RPM Power domain driver"
|
|
|
|
depends on QCOM_SMD_RPM
|
2019-01-10 04:02:04 +00: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-28 18:23:33 +00:00
|
|
|
config QCOM_SMEM
|
|
|
|
tristate "Qualcomm Shared Memory Manager (SMEM)"
|
2018-08-29 07:57:23 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2015-10-13 15:05:39 +00:00
|
|
|
depends on HWSPINLOCK
|
2015-08-28 18:23:33 +00: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 03:20:32 +00:00
|
|
|
config QCOM_SMD_RPM
|
|
|
|
tristate "Qualcomm Resource Power Manager (RPM) over SMD"
|
2018-08-29 07:57:23 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-08-29 07:57:19 +00:00
|
|
|
depends on RPMSG
|
2015-07-28 03:20:32 +00: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 01:25:01 +00:00
|
|
|
|
|
|
|
config QCOM_SMEM_STATE
|
|
|
|
bool
|
2015-09-25 01:25:02 +00:00
|
|
|
|
2015-09-25 01:25:03 +00:00
|
|
|
config QCOM_SMP2P
|
2015-11-20 10:32:21 +00:00
|
|
|
tristate "Qualcomm Shared Memory Point to Point support"
|
2017-11-30 00:00:40 +00:00
|
|
|
depends on MAILBOX
|
2015-09-25 01:25:03 +00:00
|
|
|
depends on QCOM_SMEM
|
|
|
|
select QCOM_SMEM_STATE
|
2018-08-29 07:57:17 +00:00
|
|
|
select IRQ_DOMAIN
|
2015-09-25 01:25:03 +00:00
|
|
|
help
|
|
|
|
Say yes here to support the Qualcomm Shared Memory Point to Point
|
|
|
|
protocol.
|
|
|
|
|
2015-09-25 01:25:02 +00:00
|
|
|
config QCOM_SMSM
|
2015-11-20 10:32:21 +00:00
|
|
|
tristate "Qualcomm Shared Memory State Machine"
|
2015-09-25 01:25:02 +00:00
|
|
|
depends on QCOM_SMEM
|
|
|
|
select QCOM_SMEM_STATE
|
2018-08-29 07:57:18 +00:00
|
|
|
select IRQ_DOMAIN
|
2015-09-25 01:25:02 +00: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-21 17:52:55 +00:00
|
|
|
|
2019-07-23 22:35:13 +00: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-21 17:52:55 +00:00
|
|
|
config QCOM_WCNSS_CTRL
|
|
|
|
tristate "Qualcomm WCNSS control driver"
|
2018-08-29 07:57:23 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2017-03-28 05:26:33 +00:00
|
|
|
depends on RPMSG
|
2015-09-21 17:52:55 +00:00
|
|
|
help
|
|
|
|
Client driver for the WCNSS_CTRL SMD channel, used to download nv
|
|
|
|
firmware to a newly booted WCNSS chip.
|
2017-07-26 15:27:16 +00:00
|
|
|
|
2018-05-09 12:56:13 +00:00
|
|
|
config QCOM_APR
|
|
|
|
tristate "Qualcomm APR Bus (Asynchronous Packet Router)"
|
2018-08-29 07:57:23 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2018-05-09 12:56:13 +00:00
|
|
|
depends on RPMSG
|
2020-03-16 22:03:53 +00:00
|
|
|
depends on NET
|
2020-03-12 12:08:42 +00:00
|
|
|
select QCOM_PDR_HELPERS
|
2018-05-09 12:56:13 +00:00
|
|
|
help
|
2019-11-20 13:39:25 +00: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 15:27:16 +00:00
|
|
|
endmenu
|