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