Skip to content

Commit db932ae

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
ASoC: apple: Add aop_audio driver.
Apple SoCs have their microphones connected to the AOP co-processor, in order to among other things implement the "voicetrigger" functionality. Add a driver for the "High power audio input" AOP endpoint. Signed-off-by: Sasha Finkelstein <[email protected]>
1 parent df220a4 commit db932ae

File tree

3 files changed

+697
-0
lines changed

3 files changed

+697
-0
lines changed

sound/soc/apple/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
config SND_SOC_APPLE_AOP_AUDIO
2+
tristate "AOP audio driver"
3+
depends on ARCH_APPLE || COMPILE_TEST
4+
depends on RUST
5+
select APPLE_AOP
6+
default m if ARCH_APPLE
7+
help
8+
This option enables an ASoC driver for sound devices connected to the AOP
9+
co-processor on ARM Macs. This includes the built-in microphone on those
10+
machines.
11+
112
config SND_SOC_APPLE_MCA
213
tristate "Apple Silicon MCA driver"
314
depends on ARCH_APPLE || COMPILE_TEST

sound/soc/apple/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
snd-soc-aop-y := aop_audio.o
2+
obj-$(CONFIG_SND_SOC_APPLE_AOP_AUDIO) += snd-soc-aop.o
3+
14
snd-soc-apple-mca-y := mca.o
25

36
obj-$(CONFIG_SND_SOC_APPLE_MCA) += snd-soc-apple-mca.o

0 commit comments

Comments
 (0)