Skip to content

Commit b543e46

Browse files
Cyrille Pitchenbroonie
authored andcommitted
ASoC: atmel-i2s: add driver for the new Atmel I2S controller
This patch adds support for the Atmel I2S controller embedded into sama5d2x SoCs. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 969cc05 commit b543e46

3 files changed

Lines changed: 776 additions & 0 deletions

File tree

‎sound/soc/atmel/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,13 @@ config SND_ATMEL_SOC_TSE850_PCM5142
8888
help
8989
Say Y if you want to add support for the ASoC driver for the
9090
Axentia TSE-850 with a PCM5142 codec.
91+
92+
config SND_ATMEL_SOC_I2S
93+
tristate "Atmel ASoC driver for boards using I2S"
94+
depends on OF && (ARCH_AT91 || COMPILE_TEST)
95+
select SND_SOC_GENERIC_DMAENGINE_PCM
96+
select REGMAP_MMIO
97+
help
98+
Say Y or M if you want to add support for Atmel ASoc driver for boards
99+
using I2S.
91100
endif

‎sound/soc/atmel/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
snd-soc-atmel-pcm-pdc-objs := atmel-pcm-pdc.o
44
snd-soc-atmel-pcm-dma-objs := atmel-pcm-dma.o
55
snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o
6+
snd-soc-atmel-i2s-objs := atmel-i2s.o
67

78
obj-$(CONFIG_SND_ATMEL_SOC_PDC) += snd-soc-atmel-pcm-pdc.o
89
obj-$(CONFIG_SND_ATMEL_SOC_DMA) += snd-soc-atmel-pcm-dma.o
910
obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o
11+
obj-$(CONFIG_SND_ATMEL_SOC_I2S) += snd-soc-atmel-i2s.o
1012

1113
# AT91 Machine Support
1214
snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o

0 commit comments

Comments
 (0)