Skip to content

Commit be1df61

Browse files
Viorel Sumanbroonie
authored andcommitted
ASoC: fsl: Add Audio Mixer CPU DAI driver
This patch implements Audio Mixer CPU DAI driver for NXP iMX8 SOCs. The Audio Mixer is a on-chip functional module that allows mixing of two audio streams into a single audio stream. Audio Mixer datasheet is available here: https://www.nxp.com/docs/en/reference-manual/IMX8DQXPRM.pdf Signed-off-by: Viorel Suman <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 64f01d2 commit be1df61

File tree

4 files changed

+688
-0
lines changed

4 files changed

+688
-0
lines changed

sound/soc/fsl/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ config SND_SOC_FSL_SAI
2424
This option is only useful for out-of-tree drivers since
2525
in-tree drivers select it automatically.
2626

27+
config SND_SOC_FSL_AUDMIX
28+
tristate "Audio Mixer (AUDMIX) module support"
29+
select REGMAP_MMIO
30+
help
31+
Say Y if you want to add Audio Mixer (AUDMIX)
32+
support for the NXP iMX CPUs.
33+
2734
config SND_SOC_FSL_SSI
2835
tristate "Synchronous Serial Interface module (SSI) support"
2936
select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n

sound/soc/fsl/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ snd-soc-p1022-rdk-objs := p1022_rdk.o
1212
obj-$(CONFIG_SND_SOC_P1022_RDK) += snd-soc-p1022-rdk.o
1313

1414
# Freescale SSI/DMA/SAI/SPDIF Support
15+
snd-soc-fsl-audmix-objs := fsl_audmix.o
1516
snd-soc-fsl-asoc-card-objs := fsl-asoc-card.o
1617
snd-soc-fsl-asrc-objs := fsl_asrc.o fsl_asrc_dma.o
1718
snd-soc-fsl-sai-objs := fsl_sai.o
@@ -22,6 +23,8 @@ snd-soc-fsl-esai-objs := fsl_esai.o
2223
snd-soc-fsl-micfil-objs := fsl_micfil.o
2324
snd-soc-fsl-utils-objs := fsl_utils.o
2425
snd-soc-fsl-dma-objs := fsl_dma.o
26+
27+
obj-$(CONFIG_SND_SOC_FSL_AUDMIX) += snd-soc-fsl-audmix.o
2528
obj-$(CONFIG_SND_SOC_FSL_ASOC_CARD) += snd-soc-fsl-asoc-card.o
2629
obj-$(CONFIG_SND_SOC_FSL_ASRC) += snd-soc-fsl-asrc.o
2730
obj-$(CONFIG_SND_SOC_FSL_SAI) += snd-soc-fsl-sai.o

0 commit comments

Comments
 (0)