xref: /openbmc/linux/drivers/soc/qcom/Kconfig (revision 5bdd5fbb)
1#
2# QCOM Soc drivers
3#
4menu "Qualcomm SoC drivers"
5
6config QCOM_COMMAND_DB
7	bool "Qualcomm Command DB"
8	depends on (ARCH_QCOM && OF) || COMPILE_TEST
9	help
10	  Command DB queries shared memory by key string for shared system
11	  resources. Platform drivers that require to set state of a shared
12	  resource on a RPM-hardened platform must use this database to get
13	  SoC specific identifier and information for the shared resources.
14
15config QCOM_GENI_SE
16	tristate "QCOM GENI Serial Engine Driver"
17	depends on ARCH_QCOM || COMPILE_TEST
18	help
19	  This driver is used to manage Generic Interface (GENI) firmware based
20	  Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This
21	  driver is also used to manage the common aspects of multiple Serial
22	  Engines present in the QUP.
23
24config QCOM_GLINK_SSR
25	tristate "Qualcomm Glink SSR driver"
26	depends on RPMSG
27	depends on QCOM_RPROC_COMMON
28	help
29	  Say y here to enable GLINK SSR support. The GLINK SSR driver
30	  implements the SSR protocol for notifying the remote processor about
31	  neighboring subsystems going up or down.
32
33config QCOM_GSBI
34        tristate "QCOM General Serial Bus Interface"
35        depends on ARCH_QCOM
36        select MFD_SYSCON
37        help
38          Say y here to enable GSBI support.  The GSBI provides control
39          functions for connecting the underlying serial UART, SPI, and I2C
40          devices to the output pins.
41
42config QCOM_MDT_LOADER
43	tristate
44	select QCOM_SCM
45
46config QCOM_PM
47	bool "Qualcomm Power Management"
48	depends on ARCH_QCOM && !ARM64
49	select ARM_CPU_SUSPEND
50	select QCOM_SCM
51	help
52	  QCOM Platform specific power driver to manage cores and L2 low power
53	  modes. It interface with various system drivers to put the cores in
54	  low power modes.
55
56config QCOM_QMI_HELPERS
57	tristate
58	depends on ARCH_QCOM && NET
59	help
60	  Helper library for handling QMI encoded messages.  QMI encoded
61	  messages are used in communication between the majority of QRTR
62	  clients and this helpers provide the common functionality needed for
63	  doing this from a kernel driver.
64
65config QCOM_RMTFS_MEM
66	tristate "Qualcomm Remote Filesystem memory driver"
67	depends on ARCH_QCOM
68	select QCOM_SCM
69	help
70	  The Qualcomm remote filesystem memory driver is used for allocating
71	  and exposing regions of shared memory with remote processors for the
72	  purpose of exchanging sector-data between the remote filesystem
73	  service and its clients.
74
75	  Say y here if you intend to boot the modem remoteproc.
76
77config QCOM_SMEM
78	tristate "Qualcomm Shared Memory Manager (SMEM)"
79	depends on ARCH_QCOM
80	depends on HWSPINLOCK
81	help
82	  Say y here to enable support for the Qualcomm Shared Memory Manager.
83	  The driver provides an interface to items in a heap shared among all
84	  processors in a Qualcomm platform.
85
86config QCOM_SMD_RPM
87	tristate "Qualcomm Resource Power Manager (RPM) over SMD"
88	depends on ARCH_QCOM
89	depends on RPMSG && OF
90	help
91	  If you say yes to this option, support will be included for the
92	  Resource Power Manager system found in the Qualcomm 8974 based
93	  devices.
94
95	  This is required to access many regulators, clocks and bus
96	  frequencies controlled by the RPM on these devices.
97
98	  Say M here if you want to include support for the Qualcomm RPM as a
99	  module. This will build a module called "qcom-smd-rpm".
100
101config QCOM_SMEM_STATE
102	bool
103
104config QCOM_SMP2P
105	tristate "Qualcomm Shared Memory Point to Point support"
106	depends on MAILBOX
107	depends on QCOM_SMEM
108	select QCOM_SMEM_STATE
109	help
110	  Say yes here to support the Qualcomm Shared Memory Point to Point
111	  protocol.
112
113config QCOM_SMSM
114	tristate "Qualcomm Shared Memory State Machine"
115	depends on QCOM_SMEM
116	select QCOM_SMEM_STATE
117	help
118	  Say yes here to support the Qualcomm Shared Memory State Machine.
119	  The state machine is represented by bits in shared memory.
120
121config QCOM_WCNSS_CTRL
122	tristate "Qualcomm WCNSS control driver"
123	depends on ARCH_QCOM
124	depends on RPMSG
125	help
126	  Client driver for the WCNSS_CTRL SMD channel, used to download nv
127	  firmware to a newly booted WCNSS chip.
128
129config QCOM_APR
130	tristate "Qualcomm APR Bus (Asynchronous Packet Router)"
131	depends on ARCH_QCOM
132	depends on RPMSG
133	help
134          Enable APR IPC protocol support between
135          application processor and QDSP6. APR is
136          used by audio driver to configure QDSP6
137          ASM, ADM and AFE modules.
138endmenu
139