Skip to content

Commit c61caec

Browse files
morimotobroonie
authored andcommitted
ASoC: renesas: add MSIOF sound support
Renesas MSIOF (Clock-Synchronized Serial Interface with FIFO) can work as both SPI and I2S. Adds MSIOF-I2S driver. MSIOF-SPI/I2S are using same DT compatible properties. MSIOF-I2S uses Of-Graph for Audio-Graph-Card/Card2, MSIOF-SPI doesn't use Of-Graph. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/87r01q2wzv.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0cc8884 commit c61caec

3 files changed

Lines changed: 576 additions & 0 deletions

File tree

sound/soc/renesas/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ config SND_SOC_RCAR
4646
help
4747
This option enables R-Car SRU/SCU/SSIU/SSI sound support
4848

49+
config SND_SOC_MSIOF
50+
tristate "R-Car series MSIOF support"
51+
depends on OF
52+
select SND_DMAENGINE_PCM
53+
help
54+
This option enables R-Car MSIOF sound support
55+
4956
config SND_SOC_RZ
5057
tristate "RZ/G2L series SSIF-2 support"
5158
depends on ARCH_RZG2L || COMPILE_TEST

sound/soc/renesas/rcar/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
snd-soc-rcar-y := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o debugfs.o
33
obj-$(CONFIG_SND_SOC_RCAR) += snd-soc-rcar.o
4+
5+
snd-soc-msiof-y := msiof.o
6+
obj-$(CONFIG_SND_SOC_MSIOF) += snd-soc-msiof.o

0 commit comments

Comments
 (0)