blob: 5856e792d09c8d317b01627c2d03a97eeaebff37 [file] [log] [blame]
Andy Gross5d144e32014-04-24 11:31:21 -05001#
2# QCOM Soc drivers
3#
Srinivas Kandagatla2a464812017-07-26 17:27:16 +02004menu "Qualcomm SoC drivers"
5
Mahesh Sivasubramanian312416d2018-04-10 11:57:23 -06006config QCOM_COMMAND_DB
7 bool "Qualcomm Command DB"
Arnd Bergmann0ea3fa12018-05-25 18:08:24 +02008 depends on ARCH_QCOM || COMPILE_TEST
9 depends on OF_RESERVED_MEM
Mahesh Sivasubramanian312416d2018-04-10 11:57:23 -060010 help
11 Command DB queries shared memory by key string for shared system
12 resources. Platform drivers that require to set state of a shared
13 resource on a RPM-hardened platform must use this database to get
14 SoC specific identifier and information for the shared resources.
15
Karthikeyan Ramasubramanianeddac5a2018-03-30 11:08:17 -060016config QCOM_GENI_SE
17 tristate "QCOM GENI Serial Engine Driver"
18 depends on ARCH_QCOM || COMPILE_TEST
19 help
20 This driver is used to manage Generic Interface (GENI) firmware based
21 Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This
22 driver is also used to manage the common aspects of multiple Serial
23 Engines present in the QUP.
24
Bjorn Anderssonc4d77d52017-07-24 22:56:44 -070025config QCOM_GLINK_SSR
26 tristate "Qualcomm Glink SSR driver"
27 depends on RPMSG
28 depends on QCOM_RPROC_COMMON
29 help
30 Say y here to enable GLINK SSR support. The GLINK SSR driver
31 implements the SSR protocol for notifying the remote processor about
32 neighboring subsystems going up or down.
33
Andy Gross5d144e32014-04-24 11:31:21 -050034config QCOM_GSBI
35 tristate "QCOM General Serial Bus Interface"
36 depends on ARCH_QCOM
Andy Grosse5fdad62015-02-09 16:01:06 -060037 select MFD_SYSCON
Andy Gross5d144e32014-04-24 11:31:21 -050038 help
39 Say y here to enable GSBI support. The GSBI provides control
40 functions for connecting the underlying serial UART, SPI, and I2C
41 devices to the output pins.
42
Bjorn Andersson2aad40d2017-01-27 03:12:57 -080043config QCOM_MDT_LOADER
44 tristate
45 select QCOM_SCM
46
Lina Iyer7ce75bb2015-04-09 13:20:41 -060047config QCOM_PM
48 bool "Qualcomm Power Management"
49 depends on ARCH_QCOM && !ARM64
Arnd Bergmannd9d68882015-11-24 23:13:09 +010050 select ARM_CPU_SUSPEND
Lina Iyer23b38ce2015-07-10 14:18:00 -060051 select QCOM_SCM
Lina Iyer7ce75bb2015-04-09 13:20:41 -060052 help
53 QCOM Platform specific power driver to manage cores and L2 low power
54 modes. It interface with various system drivers to put the cores in
55 low power modes.
Bjorn Andersson4b638df42015-06-26 14:50:10 -070056
Bjorn Andersson9b8a11e2017-12-05 09:43:06 -080057config QCOM_QMI_HELPERS
58 tristate
Arnd Bergmanndea4bd12018-02-22 16:57:38 +010059 depends on ARCH_QCOM && NET
Bjorn Andersson9b8a11e2017-12-05 09:43:06 -080060 help
61 Helper library for handling QMI encoded messages. QMI encoded
62 messages are used in communication between the majority of QRTR
63 clients and this helpers provide the common functionality needed for
64 doing this from a kernel driver.
65
Bjorn Anderssond1de6d62017-10-16 13:17:08 -050066config QCOM_RMTFS_MEM
67 tristate "Qualcomm Remote Filesystem memory driver"
68 depends on ARCH_QCOM
Bjorn Anderssonfa65f802018-02-12 17:37:23 -080069 select QCOM_SCM
Bjorn Anderssond1de6d62017-10-16 13:17:08 -050070 help
71 The Qualcomm remote filesystem memory driver is used for allocating
72 and exposing regions of shared memory with remote processors for the
73 purpose of exchanging sector-data between the remote filesystem
74 service and its clients.
75
76 Say y here if you intend to boot the modem remoteproc.
77
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070078config QCOM_SMEM
79 tristate "Qualcomm Shared Memory Manager (SMEM)"
80 depends on ARCH_QCOM
Arnd Bergmann73ebb852015-10-13 17:05:39 +020081 depends on HWSPINLOCK
Stephen Boyd7d0c8be2015-08-28 11:23:33 -070082 help
83 Say y here to enable support for the Qualcomm Shared Memory Manager.
84 The driver provides an interface to items in a heap shared among all
85 processors in a Qualcomm platform.
86
Bjorn Andersson936f14c2015-07-27 20:20:32 -070087config QCOM_SMD_RPM
88 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
Bjorn Andersson5052de82017-03-27 22:26:33 -070089 depends on ARCH_QCOM
90 depends on RPMSG && OF
Bjorn Andersson936f14c2015-07-27 20:20:32 -070091 help
92 If you say yes to this option, support will be included for the
93 Resource Power Manager system found in the Qualcomm 8974 based
94 devices.
95
96 This is required to access many regulators, clocks and bus
97 frequencies controlled by the RPM on these devices.
98
99 Say M here if you want to include support for the Qualcomm RPM as a
100 module. This will build a module called "qcom-smd-rpm".
Bjorn Andersson9460ae22015-09-24 18:25:01 -0700101
102config QCOM_SMEM_STATE
103 bool
Bjorn Anderssonc97c4092015-09-24 18:25:02 -0700104
Bjorn Andersson50e99642015-09-24 18:25:03 -0700105config QCOM_SMP2P
Arnd Bergmann10475d52015-11-20 11:32:21 +0100106 tristate "Qualcomm Shared Memory Point to Point support"
Bjorn Anderssone7180262017-11-29 16:00:40 -0800107 depends on MAILBOX
Bjorn Andersson50e99642015-09-24 18:25:03 -0700108 depends on QCOM_SMEM
109 select QCOM_SMEM_STATE
110 help
111 Say yes here to support the Qualcomm Shared Memory Point to Point
112 protocol.
113
Bjorn Anderssonc97c4092015-09-24 18:25:02 -0700114config QCOM_SMSM
Arnd Bergmann10475d52015-11-20 11:32:21 +0100115 tristate "Qualcomm Shared Memory State Machine"
Bjorn Anderssonc97c4092015-09-24 18:25:02 -0700116 depends on QCOM_SMEM
117 select QCOM_SMEM_STATE
118 help
119 Say yes here to support the Qualcomm Shared Memory State Machine.
120 The state machine is represented by bits in shared memory.
Bjorn Anderssonea7a1f22015-09-21 10:52:55 -0700121
122config QCOM_WCNSS_CTRL
123 tristate "Qualcomm WCNSS control driver"
Bjorn Andersson5052de82017-03-27 22:26:33 -0700124 depends on ARCH_QCOM
125 depends on RPMSG
Bjorn Anderssonea7a1f22015-09-21 10:52:55 -0700126 help
127 Client driver for the WCNSS_CTRL SMD channel, used to download nv
128 firmware to a newly booted WCNSS chip.
Srinivas Kandagatla2a464812017-07-26 17:27:16 +0200129
Srinivas Kandagatla6adba212018-05-09 13:56:13 +0100130config QCOM_APR
131 tristate "Qualcomm APR Bus (Asynchronous Packet Router)"
132 depends on ARCH_QCOM
133 depends on RPMSG
134 help
135 Enable APR IPC protocol support between
136 application processor and QDSP6. APR is
137 used by audio driver to configure QDSP6
138 ASM, ADM and AFE modules.
Srinivas Kandagatla2a464812017-07-26 17:27:16 +0200139endmenu