xref: /linux/drivers/soc/apple/Kconfig (revision 021bc4b9)
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	default ARCH_APPLE
12	help
13	  Apple SoCs have various co-processors required for certain
14	  peripherals to work (NVMe, display controller, etc.). This
15	  driver adds support for the mailbox controller used to
16	  communicate with those.
17
18	  Say Y here if you have an Apple SoC.
19
20config APPLE_RTKIT
21	tristate "Apple RTKit co-processor IPC protocol"
22	depends on APPLE_MAILBOX
23	depends on ARCH_APPLE || COMPILE_TEST
24	default ARCH_APPLE
25	help
26	  Apple SoCs such as the M1 come with various co-processors running
27	  their proprietary RTKit operating system. This option enables support
28	  for the protocol library used to communicate with those. It is used
29	  by various client drivers.
30
31	  Say 'y' here if you have an Apple SoC.
32
33config APPLE_SART
34	tristate "Apple SART DMA address filter"
35	depends on ARCH_APPLE || COMPILE_TEST
36	default ARCH_APPLE
37	help
38	  Apple SART is a simple DMA address filter used on Apple SoCs such
39	  as the M1. It is usually required for the NVMe coprocessor which does
40	  not use a proper IOMMU.
41
42	  Say 'y' here if you have an Apple SoC.
43
44endmenu
45
46endif
47