Skip to content

Commit

Permalink
ASoC: apple-mca: Add platform driver for Apple SoCs
Browse files Browse the repository at this point in the history
Add ASoC platform driver for the MCA block found on Apple SoCs
from the "Apple Silicon" family.
  • Loading branch information
povik authored and marcan committed Dec 14, 2021
1 parent abebd29 commit 69522c0
Show file tree
Hide file tree
Showing 5 changed files with 935 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/Kconfig
Expand Up @@ -61,6 +61,7 @@ config SND_SOC_ACPI
# All the supported SoCs
source "sound/soc/adi/Kconfig"
source "sound/soc/amd/Kconfig"
source "sound/soc/apple/Kconfig"
source "sound/soc/atmel/Kconfig"
source "sound/soc/au1x/Kconfig"
source "sound/soc/bcm/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions sound/soc/Makefile
Expand Up @@ -29,6 +29,7 @@ obj-$(CONFIG_SND_SOC_ACPI) += snd-soc-acpi.o
obj-$(CONFIG_SND_SOC) += snd-soc-core.o
obj-$(CONFIG_SND_SOC) += codecs/
obj-$(CONFIG_SND_SOC) += generic/
obj-$(CONFIG_SND_SOC) += apple/
obj-$(CONFIG_SND_SOC) += adi/
obj-$(CONFIG_SND_SOC) += amd/
obj-$(CONFIG_SND_SOC) += atmel/
Expand Down
6 changes: 6 additions & 0 deletions sound/soc/apple/Kconfig
@@ -0,0 +1,6 @@
config SND_SOC_APPLE_MCA
tristate "Apple Silicon MCA driver"
select SND_DMAENGINE_PCM
select CONFIG_COMMON_CLK
help
This option enables an ASoC platform driver for Apple Silicon SoCs.
3 changes: 3 additions & 0 deletions sound/soc/apple/Makefile
@@ -0,0 +1,3 @@
snd-soc-apple-mca-objs := mca.o

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

0 comments on commit 69522c0

Please sign in to comment.