xref: /openbmc/linux/drivers/soc/qcom/Kconfig (revision ee21014b)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# QCOM Soc drivers
4#
5menu "Qualcomm SoC drivers"
6
7config QCOM_AOSS_QMP
8	tristate "Qualcomm AOSS Driver"
9	depends on ARCH_QCOM || COMPILE_TEST
10	depends on MAILBOX
11	depends on COMMON_CLK && PM
12	select PM_GENERIC_DOMAINS
13	help
14	  This driver provides the means of communicating with and controlling
15	  the low-power state for resources related to the remoteproc
16	  subsystems as well as controlling the debug clocks exposed by the Always On
17	  Subsystem (AOSS) using Qualcomm Messaging Protocol (QMP).
18
19config QCOM_COMMAND_DB
20	bool "Qualcomm Command DB"
21	depends on ARCH_QCOM || COMPILE_TEST
22	depends on OF_RESERVED_MEM
23	help
24	  Command DB queries shared memory by key string for shared system
25	  resources. Platform drivers that require to set state of a shared
26	  resource on a RPM-hardened platform must use this database to get
27	  SoC specific identifier and information for the shared resources.
28
29config QCOM_GENI_SE
30	tristate "QCOM GENI Serial Engine Driver"
31	depends on ARCH_QCOM || COMPILE_TEST
32	help
33	  This driver is used to manage Generic Interface (GENI) firmware based
34	  Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This
35	  driver is also used to manage the common aspects of multiple Serial
36	  Engines present in the QUP.
37
38config QCOM_GSBI
39	tristate "QCOM General Serial Bus Interface"
40	depends on ARCH_QCOM || COMPILE_TEST
41	select MFD_SYSCON
42	help
43	  Say y here to enable GSBI support.  The GSBI provides control
44	  functions for connecting the underlying serial UART, SPI, and I2C
45	  devices to the output pins.
46
47config QCOM_LLCC
48	tristate "Qualcomm Technologies, Inc. LLCC driver"
49	depends on ARCH_QCOM || COMPILE_TEST
50	help
51	  Qualcomm Technologies, Inc. platform specific
52	  Last Level Cache Controller(LLCC) driver for platforms such as,
53	  SDM845. This provides interfaces to clients that use the LLCC.
54	  Say yes here to enable LLCC slice driver.
55
56config QCOM_KRYO_L2_ACCESSORS
57	bool
58	depends on ARCH_QCOM && ARM64 || COMPILE_TEST
59
60config QCOM_MDT_LOADER
61	tristate
62	select QCOM_SCM
63
64config QCOM_OCMEM
65	tristate "Qualcomm On Chip Memory (OCMEM) driver"
66	depends on ARCH_QCOM
67	select QCOM_SCM
68	help
69	  The On Chip Memory (OCMEM) allocator allows various clients to
70	  allocate memory from OCMEM based on performance, latency and power
71	  requirements. This is typically used by the GPU, camera/video, and
72	  audio components on some Snapdragon SoCs.
73
74config QCOM_PDR_HELPERS
75	tristate
76	select QCOM_QMI_HELPERS
77
78config QCOM_QMI_HELPERS
79	tristate
80	depends on NET
81
82config QCOM_RMTFS_MEM
83	tristate "Qualcomm Remote Filesystem memory driver"
84	depends on ARCH_QCOM
85	select QCOM_SCM
86	help
87	  The Qualcomm remote filesystem memory driver is used for allocating
88	  and exposing regions of shared memory with remote processors for the
89	  purpose of exchanging sector-data between the remote filesystem
90	  service and its clients.
91
92	  Say y here if you intend to boot the modem remoteproc.
93
94config QCOM_RPMH
95	bool "Qualcomm RPM-Hardened (RPMH) Communication"
96	depends on ARCH_QCOM || COMPILE_TEST
97	help
98	  Support for communication with the hardened-RPM blocks in
99	  Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an
100	  internal bus to transmit state requests for shared resources. A set
101	  of hardware components aggregate requests for these resources and
102	  help apply the aggregated state on the resource.
103
104config QCOM_RPMHPD
105	tristate "Qualcomm RPMh Power domain driver"
106	depends on QCOM_RPMH && QCOM_COMMAND_DB
107	help
108	  QCOM RPMh Power domain driver to support power-domains with
109	  performance states. The driver communicates a performance state
110	  value to RPMh which then translates it into corresponding voltage
111	  for the voltage rail.
112
113config QCOM_RPMPD
114	tristate "Qualcomm RPM Power domain driver"
115	depends on QCOM_SMD_RPM
116	help
117	  QCOM RPM Power domain driver to support power-domains with
118	  performance states. The driver communicates a performance state
119	  value to RPM which then translates it into corresponding voltage
120	  for the voltage rail.
121
122config QCOM_SMEM
123	tristate "Qualcomm Shared Memory Manager (SMEM)"
124	depends on ARCH_QCOM || COMPILE_TEST
125	depends on HWSPINLOCK
126	help
127	  Say y here to enable support for the Qualcomm Shared Memory Manager.
128	  The driver provides an interface to items in a heap shared among all
129	  processors in a Qualcomm platform.
130
131config QCOM_SMD_RPM
132	tristate "Qualcomm Resource Power Manager (RPM) over SMD"
133	depends on ARCH_QCOM || COMPILE_TEST
134	depends on RPMSG
135	help
136	  If you say yes to this option, support will be included for the
137	  Resource Power Manager system found in the Qualcomm 8974 based
138	  devices.
139
140	  This is required to access many regulators, clocks and bus
141	  frequencies controlled by the RPM on these devices.
142
143	  Say M here if you want to include support for the Qualcomm RPM as a
144	  module. This will build a module called "qcom-smd-rpm".
145
146config QCOM_SMEM_STATE
147	bool
148
149config QCOM_SMP2P
150	tristate "Qualcomm Shared Memory Point to Point support"
151	depends on MAILBOX
152	depends on QCOM_SMEM
153	select QCOM_SMEM_STATE
154	select IRQ_DOMAIN
155	help
156	  Say yes here to support the Qualcomm Shared Memory Point to Point
157	  protocol.
158
159config QCOM_SMSM
160	tristate "Qualcomm Shared Memory State Machine"
161	depends on QCOM_SMEM
162	select QCOM_SMEM_STATE
163	select IRQ_DOMAIN
164	help
165	  Say yes here to support the Qualcomm Shared Memory State Machine.
166	  The state machine is represented by bits in shared memory.
167
168config QCOM_SOCINFO
169	tristate "Qualcomm socinfo driver"
170	depends on QCOM_SMEM
171	select SOC_BUS
172	help
173	 Say yes here to support the Qualcomm socinfo driver, providing
174	 information about the SoC to user space.
175
176config QCOM_WCNSS_CTRL
177	tristate "Qualcomm WCNSS control driver"
178	depends on ARCH_QCOM || COMPILE_TEST
179	depends on RPMSG
180	help
181	  Client driver for the WCNSS_CTRL SMD channel, used to download nv
182	  firmware to a newly booted WCNSS chip.
183
184config QCOM_APR
185	tristate "Qualcomm APR Bus (Asynchronous Packet Router)"
186	depends on ARCH_QCOM || COMPILE_TEST
187	depends on RPMSG
188	depends on NET
189	select QCOM_PDR_HELPERS
190	help
191	  Enable APR IPC protocol support between
192	  application processor and QDSP6. APR is
193	  used by audio driver to configure QDSP6
194	  ASM, ADM and AFE modules.
195endmenu
196