xref: /linux/drivers/soc/apple/Kconfig (revision ec2e0fb07d789976c601bec19ecced7a501c3705)
1# SPDX-License-Identifier: GPL-2.0-only
2
3if ARCH_APPLE || COMPILE_TEST
4
5menu "Apple SoC drivers"
6
7config APPLE_MAILBOX
8	tristate "Apple SoC mailboxes"
9	depends on PM
10	depends on ARCH_APPLE || (64BIT && COMPILE_TEST)
11	help
12	  Apple SoCs have various co-processors required for certain
13	  peripherals to work (NVMe, display controller, etc.). This
14	  driver adds support for the mailbox controller used to
15	  communicate with those.
16
17	  Say Y here if you have an Apple SoC.
18
19config APPLE_RTKIT
20	tristate "Apple RTKit co-processor IPC protocol"
21	depends on APPLE_MAILBOX
22	depends on ARCH_APPLE || COMPILE_TEST
23	help
24	  Apple SoCs such as the M1 come with various co-processors running
25	  their proprietary RTKit operating system. This option enables support
26	  for the protocol library used to communicate with those. It is used
27	  by various client drivers.
28
29	  Say 'y' here if you have an Apple SoC.
30
31config APPLE_SART
32	tristate "Apple SART DMA address filter"
33	depends on ARCH_APPLE || COMPILE_TEST
34	help
35	  Apple SART is a simple DMA address filter used on Apple SoCs such
36	  as the M1. It is usually required for the NVMe coprocessor which does
37	  not use a proper IOMMU.
38
39	  Say 'y' here if you have an Apple SoC.
40
41endmenu
42
43endif
44