Skip to content

Commit de0a3a4

Browse files
author
Codrin Ciubotariu
committed
ASoC: atmel: add Sound Card driver for ASRC
The main purpose of this Sound Card driver is to enable the use of SAMA7G5's ASRC with the rest of the available audio peripherals and any other eventual codecs. DPCMs will be created, based on the number of ASRC instances. ASRC will be registered as Front-End DAI, while the other audio peripherals will also have a corresponding Back-End DAI. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
1 parent de90db7 commit de0a3a4

3 files changed

Lines changed: 932 additions & 0 deletions

File tree

sound/soc/atmel/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,12 @@ config SND_MCHP_SOC_ASRC
189189
The Asynchronous Sample Rate Converter (ASRC) converts the sample
190190
rate of an incoming audio frame without affecting quality. It
191191
supports input and output sampling rates up to 192 kHz.
192+
193+
config SND_MCHP_SOC_ASRC_CARD
194+
tristate "Mirochop ASoC Sound Card driver for boards using ASRC"
195+
depends on ARCH_AT91 || COMPILE_TEST
196+
depends on SND_ATMEL_SOC && SND_MCHP_SOC_ASRC
197+
help
198+
Say Y or M if you want to enable the Sound Card driver with support for
199+
Microchip's ASRC.
192200
endif

sound/soc/atmel/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ snd-atmel-soc-classd-objs := atmel-classd.o
3434
snd-atmel-soc-pdmic-objs := atmel-pdmic.o
3535
snd-atmel-soc-tse850-pcm5142-objs := tse850-pcm5142.o
3636
snd-soc-mikroe-proto-objs := mikroe-proto.o
37+
snd-soc-mchp-asrc-card-objs := mchp-asrc-card.o
3738

3839
obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
3940
obj-$(CONFIG_SND_ATMEL_SOC_WM8904) += snd-atmel-soc-wm8904.o
@@ -42,3 +43,4 @@ obj-$(CONFIG_SND_ATMEL_SOC_CLASSD) += snd-atmel-soc-classd.o
4243
obj-$(CONFIG_SND_ATMEL_SOC_PDMIC) += snd-atmel-soc-pdmic.o
4344
obj-$(CONFIG_SND_ATMEL_SOC_TSE850_PCM5142) += snd-atmel-soc-tse850-pcm5142.o
4445
obj-$(CONFIG_SND_SOC_MIKROE_PROTO) += snd-soc-mikroe-proto.o
46+
obj-$(CONFIG_SND_MCHP_SOC_ASRC_CARD) += snd-soc-mchp-asrc-card.o

0 commit comments

Comments
 (0)