xref: /linux/drivers/soc/apple/Kconfig (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
16df9d38fSHector Martin# SPDX-License-Identifier: GPL-2.0-only
26df9d38fSHector Martin
36df9d38fSHector Martinif ARCH_APPLE || COMPILE_TEST
46df9d38fSHector Martin
56df9d38fSHector Martinmenu "Apple SoC drivers"
66df9d38fSHector Martin
7*c84292d9SHector Martinconfig APPLE_MAILBOX
86e1457fcSHector Martin	tristate "Apple SoC mailboxes"
96e1457fcSHector Martin	depends on PM
106e1457fcSHector Martin	depends on ARCH_APPLE || (64BIT && COMPILE_TEST)
116e1457fcSHector Martin	help
126e1457fcSHector Martin	  Apple SoCs have various co-processors required for certain
136e1457fcSHector Martin	  peripherals to work (NVMe, display controller, etc.). This
146e1457fcSHector Martin	  driver adds support for the mailbox controller used to
156e1457fcSHector Martin	  communicate with those.
166e1457fcSHector Martin
176e1457fcSHector Martin	  Say Y here if you have an Apple SoC.
186e1457fcSHector Martin
199bd1d9a0SSven Peterconfig APPLE_RTKIT
209bd1d9a0SSven Peter	tristate "Apple RTKit co-processor IPC protocol"
21*c84292d9SHector Martin	depends on APPLE_MAILBOX
229bd1d9a0SSven Peter	depends on ARCH_APPLE || COMPILE_TEST
239bd1d9a0SSven Peter	help
249bd1d9a0SSven Peter	  Apple SoCs such as the M1 come with various co-processors running
259bd1d9a0SSven Peter	  their proprietary RTKit operating system. This option enables support
269bd1d9a0SSven Peter	  for the protocol library used to communicate with those. It is used
279bd1d9a0SSven Peter	  by various client drivers.
289bd1d9a0SSven Peter
299bd1d9a0SSven Peter	  Say 'y' here if you have an Apple SoC.
309bd1d9a0SSven Peter
31b170143aSSven Peterconfig APPLE_SART
32b170143aSSven Peter	tristate "Apple SART DMA address filter"
33b170143aSSven Peter	depends on ARCH_APPLE || COMPILE_TEST
34b170143aSSven Peter	help
35b170143aSSven Peter	  Apple SART is a simple DMA address filter used on Apple SoCs such
36b170143aSSven Peter	  as the M1. It is usually required for the NVMe coprocessor which does
37b170143aSSven Peter	  not use a proper IOMMU.
38b170143aSSven Peter
39b170143aSSven Peter	  Say 'y' here if you have an Apple SoC.
40b170143aSSven Peter
416df9d38fSHector Martinendmenu
426df9d38fSHector Martin
436df9d38fSHector Martinendif
44