Skip to content

Commit 740aaaf

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 feb3778 commit 740aaaf

3 files changed

Lines changed: 715 additions & 0 deletions

File tree

sound/soc/apple/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
menu "Apple"
22

3+
config SND_SOC_APPLE_AOP_AUDIO
4+
tristate "AOP audio driver"
5+
depends on ARCH_APPLE || COMPILE_TEST
6+
depends on RUST
7+
select APPLE_AOP
8+
select SND_DMAENGINE_PCM
9+
help
10+
This option enables an ASoC driver for sound devices connected to the AOP
11+
co-processor on ARM Macs. This includes the built-in microphone on those
12+
machines.
13+
314
config SND_SOC_APPLE_MCA
415
tristate "Apple Silicon MCA driver"
516
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)