Skip to content

Commit

Permalink
ASoC: apple: Add aop_audio driver.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
WhatAmISupposedToPutHere authored and jannau committed Dec 21, 2024
1 parent df220a4 commit db932ae
Show file tree
Hide file tree
Showing 3 changed files with 697 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sound/soc/apple/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
config SND_SOC_APPLE_AOP_AUDIO
tristate "AOP audio driver"
depends on ARCH_APPLE || COMPILE_TEST
depends on RUST
select APPLE_AOP
default m if ARCH_APPLE
help
This option enables an ASoC driver for sound devices connected to the AOP
co-processor on ARM Macs. This includes the built-in microphone on those
machines.

config SND_SOC_APPLE_MCA
tristate "Apple Silicon MCA driver"
depends on ARCH_APPLE || COMPILE_TEST
Expand Down
3 changes: 3 additions & 0 deletions sound/soc/apple/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
snd-soc-aop-y := aop_audio.o
obj-$(CONFIG_SND_SOC_APPLE_AOP_AUDIO) += snd-soc-aop.o

snd-soc-apple-mca-y := mca.o

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

0 comments on commit db932ae

Please sign in to comment.