Skip to content

Commit 7dfa11c

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 <fnkl.kernel@gmail.com>
1 parent 6850671 commit 7dfa11c

3 files changed

Lines changed: 708 additions & 0 deletions

File tree

sound/soc/apple/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
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+
select SND_DMAENGINE_PCM
7+
default m if ARCH_APPLE
8+
help
9+
This option enables an ASoC driver for sound devices connected to the AOP
10+
co-processor on ARM Macs. This includes the built-in microphone on those
11+
machines.
12+
113
config SND_SOC_APPLE_MCA
214
tristate "Apple Silicon MCA driver"
315
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)