xref: /linux/drivers/soc/apple/Kconfig (revision 06d07429858317ded2db7986113a9e0129cd599b)
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	default ARCH_APPLE
126e1457fcSHector Martin	help
136e1457fcSHector Martin	  Apple SoCs have various co-processors required for certain
146e1457fcSHector Martin	  peripherals to work (NVMe, display controller, etc.). This
156e1457fcSHector Martin	  driver adds support for the mailbox controller used to
166e1457fcSHector Martin	  communicate with those.
176e1457fcSHector Martin
186e1457fcSHector Martin	  Say Y here if you have an Apple SoC.
196e1457fcSHector Martin
209bd1d9a0SSven Peterconfig APPLE_RTKIT
219bd1d9a0SSven Peter	tristate "Apple RTKit co-processor IPC protocol"
22*c84292d9SHector Martin	depends on APPLE_MAILBOX
239bd1d9a0SSven Peter	depends on ARCH_APPLE || COMPILE_TEST
249bd1d9a0SSven Peter	default ARCH_APPLE
259bd1d9a0SSven Peter	help
269bd1d9a0SSven Peter	  Apple SoCs such as the M1 come with various co-processors running
279bd1d9a0SSven Peter	  their proprietary RTKit operating system. This option enables support
289bd1d9a0SSven Peter	  for the protocol library used to communicate with those. It is used
299bd1d9a0SSven Peter	  by various client drivers.
309bd1d9a0SSven Peter
319bd1d9a0SSven Peter	  Say 'y' here if you have an Apple SoC.
329bd1d9a0SSven Peter
33b170143aSSven Peterconfig APPLE_SART
34b170143aSSven Peter	tristate "Apple SART DMA address filter"
35b170143aSSven Peter	depends on ARCH_APPLE || COMPILE_TEST
36b170143aSSven Peter	default ARCH_APPLE
37b170143aSSven Peter	help
38b170143aSSven Peter	  Apple SART is a simple DMA address filter used on Apple SoCs such
39b170143aSSven Peter	  as the M1. It is usually required for the NVMe coprocessor which does
40b170143aSSven Peter	  not use a proper IOMMU.
41b170143aSSven Peter
42b170143aSSven Peter	  Say 'y' here if you have an Apple SoC.
43b170143aSSven Peter
446df9d38fSHector Martinendmenu
456df9d38fSHector Martin
466df9d38fSHector Martinendif
47