Skip to content

Commit 6850671

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
soc: apple: Add support for the AOP co-processor.
This is the base device for a multi-function co-processor present on certain Apple SoCs. On M-series Macs it is in charge of internal microphones, and various environmental sensors. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 7fd3263 commit 6850671

5 files changed

Lines changed: 1002 additions & 0 deletions

File tree

drivers/soc/apple/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ config RUST_APPLE_RTKIT
4646
depends on RUST
4747
depends on APPLE_RTKIT
4848

49+
config APPLE_AOP
50+
tristate "Apple \"Always-on\" Processor"
51+
depends on ARCH_APPLE || COMPILE_TEST
52+
depends on RUST
53+
select RUST_APPLE_RTKIT
54+
default m if ARCH_APPLE
55+
help
56+
A co-processor persent on certain Apple SoCs controlling accelerometers,
57+
gyros, ambient light sensors and microphones. Is not actually always on.
58+
59+
Say 'y' here if you have an Apple laptop.
60+
4961
endmenu
5062

5163
endif

drivers/soc/apple/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ apple-rtkit-y = rtkit.o rtkit-crashlog.o
88

99
obj-$(CONFIG_APPLE_SART) += apple-sart.o
1010
apple-sart-y = sart.o
11+
12+
obj-$(CONFIG_APPLE_AOP) += aop.o

0 commit comments

Comments
 (0)