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 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 19config APPLE_PMGR_MISC 20 tristate "Apple SoC PMGR miscellaneous support" 21 depends on PM 22 help 23 The PMGR block in Apple SoCs provides high-level power state 24 controls for SoC devices. This driver manages miscellaneous 25 power controls. 26 27 Say 'y' here if you have a Pro/Max/Ultra Apple SoC. 28 29config APPLE_RTKIT 30 tristate "Apple RTKit co-processor IPC protocol" 31 depends on APPLE_MAILBOX 32 depends on ARCH_APPLE || COMPILE_TEST 33 help 34 Apple SoCs such as the M1 come with various co-processors running 35 their proprietary RTKit operating system. This option enables support 36 for the protocol library used to communicate with those. It is used 37 by various client drivers. 38 39 Say 'y' here if you have an Apple SoC. 40 41config APPLE_SART 42 tristate "Apple SART DMA address filter" 43 depends on ARCH_APPLE || COMPILE_TEST 44 help 45 Apple SART is a simple DMA address filter used on Apple SoCs such 46 as the M1. It is usually required for the NVMe coprocessor which does 47 not use a proper IOMMU. 48 49 Say 'y' here if you have an Apple SoC. 50 51config APPLE_TUNABLE 52 tristate 53 depends on ARCH_APPLE || COMPILE_TEST 54 55endmenu 56 57endif 58