summaryrefslogtreecommitdiff
path: root/drivers/soc/apple/Makefile
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2023-03-14 19:45:45 +0900
committerHector Martin <marcan@marcan.st>2023-11-23 19:10:15 +0900
commit6e1457fcad3ff6b1885e64f5e393db5ff5ec2a42 (patch)
treef912c4e733ffdf06eae1c0e6b08d6bcd1c2104a8 /drivers/soc/apple/Makefile
parent57b79ac9f43dc71fc8b55af51d1c9f469cb7a0de (diff)
downloadlwn-6e1457fcad3ff6b1885e64f5e393db5ff5ec2a42.tar.gz
lwn-6e1457fcad3ff6b1885e64f5e393db5ff5ec2a42.zip
soc: apple: mailbox: Add ASC/M3 mailbox driver
This new driver is based on the existing apple-mailbox driver, but replaces the usage of the mailbox subsystem with directly exported symbols. As part of this refactor, this adds support for using the hardware FIFOs (not supported in mailbox) and implicitly fixes a bunch of bugs caused by bad interactions with the mailbox subsystem. It also adds runtime-PM support. The new config symbol is APPLE_MBOX, while the module name remains identical ("apple-mailbox"). The configs are mutually exclusive in Kconfig, to avoid conflicts. Acked-by: Eric Curtin <ecurtin@redhat.com> Acked-by: Neal Gompa <neal@gompa.dev> Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'drivers/soc/apple/Makefile')
-rw-r--r--drivers/soc/apple/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/soc/apple/Makefile b/drivers/soc/apple/Makefile
index b241e6a65e5b..2a7835eda070 100644
--- a/drivers/soc/apple/Makefile
+++ b/drivers/soc/apple/Makefile
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only
+
+obj-$(CONFIG_APPLE_MBOX) += apple-mailbox.o
+apple-mailbox-y = mailbox.o
+
obj-$(CONFIG_APPLE_RTKIT) += apple-rtkit.o
apple-rtkit-y = rtkit.o rtkit-crashlog.o