xref: /openbmc/linux/drivers/soc/apple/Kconfig (revision b170143a)
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
76df9d38fSHector Martinconfig APPLE_PMGR_PWRSTATE
88e136c5eSHector Martin	bool "Apple SoC PMGR power state control"
96df9d38fSHector Martin	depends on PM
106df9d38fSHector Martin	select REGMAP
116df9d38fSHector Martin	select MFD_SYSCON
126df9d38fSHector Martin	select PM_GENERIC_DOMAINS
136df9d38fSHector Martin	select RESET_CONTROLLER
146df9d38fSHector Martin	default ARCH_APPLE
156df9d38fSHector Martin	help
166df9d38fSHector Martin	  The PMGR block in Apple SoCs provides high-level power state
176df9d38fSHector Martin	  controls for SoC devices. This driver manages them through the
186df9d38fSHector Martin	  generic power domain framework, and also provides reset support.
196df9d38fSHector Martin
209bd1d9a0SSven Peterconfig APPLE_RTKIT
219bd1d9a0SSven Peter	tristate "Apple RTKit co-processor IPC protocol"
229bd1d9a0SSven Peter	depends on 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
33*b170143aSSven Peterconfig APPLE_SART
34*b170143aSSven Peter	tristate "Apple SART DMA address filter"
35*b170143aSSven Peter	depends on ARCH_APPLE || COMPILE_TEST
36*b170143aSSven Peter	default ARCH_APPLE
37*b170143aSSven Peter	help
38*b170143aSSven Peter	  Apple SART is a simple DMA address filter used on Apple SoCs such
39*b170143aSSven Peter	  as the M1. It is usually required for the NVMe coprocessor which does
40*b170143aSSven Peter	  not use a proper IOMMU.
41*b170143aSSven Peter
42*b170143aSSven Peter	  Say 'y' here if you have an Apple SoC.
43*b170143aSSven Peter
446df9d38fSHector Martinendmenu
456df9d38fSHector Martin
466df9d38fSHector Martinendif
47