162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_cimenu "SoC Audio support for Renesas SoCs"
362306a36Sopenharmony_ci	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig SND_SOC_PCM_SH7760
662306a36Sopenharmony_ci	tristate "SoC Audio support for Renesas SH7760"
762306a36Sopenharmony_ci	depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  Enable this option for SH7760 AC97/I2S audio support.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci##
1362306a36Sopenharmony_ci## Audio unit modules
1462306a36Sopenharmony_ci##
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig SND_SOC_SH4_HAC
1762306a36Sopenharmony_ci	tristate
1862306a36Sopenharmony_ci	select AC97_BUS
1962306a36Sopenharmony_ci	select SND_SOC_AC97_BUS
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconfig SND_SOC_SH4_SSI
2262306a36Sopenharmony_ci	tristate
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig SND_SOC_SH4_FSI
2562306a36Sopenharmony_ci	tristate "SH4 FSI support"
2662306a36Sopenharmony_ci	depends on SUPERH || COMMON_CLK
2762306a36Sopenharmony_ci	select SND_SIMPLE_CARD
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  This option enables FSI sound support
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig SND_SOC_SH4_SIU
3262306a36Sopenharmony_ci	tristate
3362306a36Sopenharmony_ci	depends on ARCH_SHMOBILE && HAVE_CLK
3462306a36Sopenharmony_ci	depends on DMADEVICES
3562306a36Sopenharmony_ci	select DMA_ENGINE
3662306a36Sopenharmony_ci	select SH_DMAE
3762306a36Sopenharmony_ci	select FW_LOADER
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig SND_SOC_RCAR
4062306a36Sopenharmony_ci	tristate "R-Car series SRU/SCU/SSIU/SSI support"
4162306a36Sopenharmony_ci	depends on COMMON_CLK
4262306a36Sopenharmony_ci	depends on OF
4362306a36Sopenharmony_ci	select SND_SIMPLE_CARD_UTILS
4462306a36Sopenharmony_ci	select REGMAP_MMIO
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  This option enables R-Car SRU/SCU/SSIU/SSI sound support
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig SND_SOC_RZ
4962306a36Sopenharmony_ci	tristate "RZ/G2L series SSIF-2 support"
5062306a36Sopenharmony_ci	depends on ARCH_RZG2L || COMPILE_TEST
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  This option enables RZ/G2L SSIF-2 sound support.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci##
5562306a36Sopenharmony_ci## Boards
5662306a36Sopenharmony_ci##
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig SND_SH7760_AC97
5962306a36Sopenharmony_ci	tristate "SH7760 AC97 sound support"
6062306a36Sopenharmony_ci	depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
6162306a36Sopenharmony_ci	select SND_SOC_SH4_HAC
6262306a36Sopenharmony_ci	select SND_SOC_AC97_CODEC
6362306a36Sopenharmony_ci	help
6462306a36Sopenharmony_ci	  This option enables generic sound support for the first
6562306a36Sopenharmony_ci	  AC97 unit of the SH7760.
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciconfig SND_SIU_MIGOR
6862306a36Sopenharmony_ci	tristate "SIU sound support on Migo-R"
6962306a36Sopenharmony_ci	depends on SH_MIGOR && I2C
7062306a36Sopenharmony_ci	select SND_SOC_SH4_SIU
7162306a36Sopenharmony_ci	select SND_SOC_WM8978
7262306a36Sopenharmony_ci	help
7362306a36Sopenharmony_ci	  This option enables sound support for the SH7722 Migo-R board
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciendmenu
76