diff options
author | Sven Peter <sven@svenpeter.dev> | 2022-05-01 16:55:06 +0200 |
---|---|---|
committer | Sven Peter <sven@svenpeter.dev> | 2022-05-01 16:55:06 +0200 |
commit | 9bd1d9a0d8bb1a549831fd98fcc3105960f7068b (patch) | |
tree | de48d7f470c432da0cd9f0f585c5319bb059cac7 /drivers/soc/apple/Kconfig | |
parent | cbb0f00131e48f38db9eda67e0f731504404567b (diff) | |
download | lwn-9bd1d9a0d8bb1a549831fd98fcc3105960f7068b.tar.gz lwn-9bd1d9a0d8bb1a549831fd98fcc3105960f7068b.zip |
soc: apple: Add RTKit IPC library
Apple SoCs such as the M1 come with multiple embedded co-processors
running proprietary firmware. Communication with those is established
over a simple mailbox using the RTKit IPC protocol.
This cannot be implemented inside the mailbox subsystem since on top
of communication over channels we also need support for starting,
hibernating and resetting these co-processors. We also need to
handle shared memory allocations differently depending on the
co-processor and don't want to split that across multiple drivers.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Diffstat (limited to 'drivers/soc/apple/Kconfig')
-rw-r--r-- | drivers/soc/apple/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/soc/apple/Kconfig b/drivers/soc/apple/Kconfig index 9b8de31d6a8f..1b09037584a0 100644 --- a/drivers/soc/apple/Kconfig +++ b/drivers/soc/apple/Kconfig @@ -17,6 +17,19 @@ config APPLE_PMGR_PWRSTATE controls for SoC devices. This driver manages them through the generic power domain framework, and also provides reset support. +config APPLE_RTKIT + tristate "Apple RTKit co-processor IPC protocol" + depends on MAILBOX + depends on ARCH_APPLE || COMPILE_TEST + default ARCH_APPLE + help + Apple SoCs such as the M1 come with various co-processors running + their proprietary RTKit operating system. This option enables support + for the protocol library used to communicate with those. It is used + by various client drivers. + + Say 'y' here if you have an Apple SoC. + endmenu endif |