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