xref: /openbmc/linux/drivers/soc/qcom/Kconfig (revision ba61bb17)
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 || COMPILE_TEST
9	depends on OF_RESERVED_MEM
10	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
16config 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
25config 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
34config QCOM_GSBI
35        tristate "QCOM General Serial Bus Interface"
36        depends on ARCH_QCOM
37        select MFD_SYSCON
38        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
43config QCOM_MDT_LOADER
44	tristate
45	select QCOM_SCM
46
47config QCOM_PM
48	bool "Qualcomm Power Management"
49	depends on ARCH_QCOM && !ARM64
50	select ARM_CPU_SUSPEND
51	select QCOM_SCM
52	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.
56
57config QCOM_QMI_HELPERS
58	tristate
59	depends on ARCH_QCOM && NET
60	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
66config QCOM_RMTFS_MEM
67	tristate "Qualcomm Remote Filesystem memory driver"
68	depends on ARCH_QCOM
69	select QCOM_SCM
70	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
78config QCOM_SMEM
79	tristate "Qualcomm Shared Memory Manager (SMEM)"
80	depends on ARCH_QCOM
81	depends on HWSPINLOCK
82	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
87config QCOM_SMD_RPM
88	tristate "Qualcomm Resource Power Manager (RPM) over SMD"
89	depends on ARCH_QCOM
90	depends on RPMSG && OF
91	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".
101
102config QCOM_SMEM_STATE
103	bool
104
105config QCOM_SMP2P
106	tristate "Qualcomm Shared Memory Point to Point support"
107	depends on MAILBOX
108	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
114config QCOM_SMSM
115	tristate "Qualcomm Shared Memory State Machine"
116	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.
121
122config QCOM_WCNSS_CTRL
123	tristate "Qualcomm WCNSS control driver"
124	depends on ARCH_QCOM
125	depends on RPMSG
126	help
127	  Client driver for the WCNSS_CTRL SMD channel, used to download nv
128	  firmware to a newly booted WCNSS chip.
129
130config 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.
139endmenu
140