| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
if ARCH_APPLE || COMPILE_TEST |
| 4 |
|
| 5 |
menu "Apple SoC drivers" |
| 6 |
|
| 7 |
config 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 |
|
| 19 |
config 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 |
|
| 31 |
config 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 |
|
| 41 |
config APPLE_TUNABLE |
| 42 |
tristate |
| 43 |
depends on ARCH_APPLE || COMPILE_TEST |
| 44 |
|
| 45 |
endmenu |
| 46 |
|
| 47 |
endif |