18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_cimenu "SoC Audio support for Renesas SoCs"
38c2ecf20Sopenharmony_ci	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciconfig SND_SOC_PCM_SH7760
68c2ecf20Sopenharmony_ci	tristate "SoC Audio support for Renesas SH7760"
78c2ecf20Sopenharmony_ci	depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  Enable this option for SH7760 AC97/I2S audio support.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci##
138c2ecf20Sopenharmony_ci## Audio unit modules
148c2ecf20Sopenharmony_ci##
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig SND_SOC_SH4_HAC
178c2ecf20Sopenharmony_ci	tristate
188c2ecf20Sopenharmony_ci	select AC97_BUS
198c2ecf20Sopenharmony_ci	select SND_SOC_AC97_BUS
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciconfig SND_SOC_SH4_SSI
228c2ecf20Sopenharmony_ci	tristate
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig SND_SOC_SH4_FSI
258c2ecf20Sopenharmony_ci	tristate "SH4 FSI support"
268c2ecf20Sopenharmony_ci	select SND_SIMPLE_CARD
278c2ecf20Sopenharmony_ci	help
288c2ecf20Sopenharmony_ci	  This option enables FSI sound support
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig SND_SOC_SH4_SIU
318c2ecf20Sopenharmony_ci	tristate
328c2ecf20Sopenharmony_ci	depends on ARCH_SHMOBILE && HAVE_CLK
338c2ecf20Sopenharmony_ci	depends on DMADEVICES
348c2ecf20Sopenharmony_ci	select DMA_ENGINE
358c2ecf20Sopenharmony_ci	select SH_DMAE
368c2ecf20Sopenharmony_ci	select FW_LOADER
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig SND_SOC_RCAR
398c2ecf20Sopenharmony_ci	tristate "R-Car series SRU/SCU/SSIU/SSI support"
408c2ecf20Sopenharmony_ci	depends on COMMON_CLK
418c2ecf20Sopenharmony_ci	depends on OF || COMPILE_TEST
428c2ecf20Sopenharmony_ci	select SND_SIMPLE_CARD_UTILS
438c2ecf20Sopenharmony_ci	select REGMAP_MMIO
448c2ecf20Sopenharmony_ci	help
458c2ecf20Sopenharmony_ci	  This option enables R-Car SRU/SCU/SSIU/SSI sound support
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci##
488c2ecf20Sopenharmony_ci## Boards
498c2ecf20Sopenharmony_ci##
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciconfig SND_SH7760_AC97
528c2ecf20Sopenharmony_ci	tristate "SH7760 AC97 sound support"
538c2ecf20Sopenharmony_ci	depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
548c2ecf20Sopenharmony_ci	select SND_SOC_SH4_HAC
558c2ecf20Sopenharmony_ci	select SND_SOC_AC97_CODEC
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	  This option enables generic sound support for the first
588c2ecf20Sopenharmony_ci	  AC97 unit of the SH7760.
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ciconfig SND_SIU_MIGOR
618c2ecf20Sopenharmony_ci	tristate "SIU sound support on Migo-R"
628c2ecf20Sopenharmony_ci	depends on SH_MIGOR && I2C
638c2ecf20Sopenharmony_ci	select SND_SOC_SH4_SIU
648c2ecf20Sopenharmony_ci	select SND_SOC_WM8978
658c2ecf20Sopenharmony_ci	help
668c2ecf20Sopenharmony_ci	  This option enables sound support for the SH7722 Migo-R board
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciendmenu
69