xref: /openbmc/linux/drivers/soc/apple/Kconfig (revision 9bd1d9a0)
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
20*9bd1d9a0SSven Peterconfig APPLE_RTKIT
21*9bd1d9a0SSven Peter	tristate "Apple RTKit co-processor IPC protocol"
22*9bd1d9a0SSven Peter	depends on MAILBOX
23*9bd1d9a0SSven Peter	depends on ARCH_APPLE || COMPILE_TEST
24*9bd1d9a0SSven Peter	default ARCH_APPLE
25*9bd1d9a0SSven Peter	help
26*9bd1d9a0SSven Peter	  Apple SoCs such as the M1 come with various co-processors running
27*9bd1d9a0SSven Peter	  their proprietary RTKit operating system. This option enables support
28*9bd1d9a0SSven Peter	  for the protocol library used to communicate with those. It is used
29*9bd1d9a0SSven Peter	  by various client drivers.
30*9bd1d9a0SSven Peter
31*9bd1d9a0SSven Peter	  Say 'y' here if you have an Apple SoC.
32*9bd1d9a0SSven Peter
336df9d38fSHector Martinendmenu
346df9d38fSHector Martin
356df9d38fSHector Martinendif
36