^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menu "SoC Audio support for Renesas SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config SND_SOC_PCM_SH7760
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "SoC Audio support for Renesas SH7760"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Enable this option for SH7760 AC97/I2S audio support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) ##
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) ## Audio unit modules
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) ##
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) config SND_SOC_SH4_HAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select AC97_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select SND_SOC_AC97_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) config SND_SOC_SH4_SSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) config SND_SOC_SH4_FSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) tristate "SH4 FSI support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) select SND_SIMPLE_CARD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) This option enables FSI sound support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) config SND_SOC_SH4_SIU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) depends on ARCH_SHMOBILE && HAVE_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) depends on DMADEVICES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) select DMA_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) select SH_DMAE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) select FW_LOADER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) config SND_SOC_RCAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) tristate "R-Car series SRU/SCU/SSIU/SSI support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on OF || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) select SND_SIMPLE_CARD_UTILS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) select REGMAP_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) This option enables R-Car SRU/SCU/SSIU/SSI sound support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) ##
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) ## Boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) ##
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) config SND_SH7760_AC97
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) tristate "SH7760 AC97 sound support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) select SND_SOC_SH4_HAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) select SND_SOC_AC97_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) This option enables generic sound support for the first
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) AC97 unit of the SH7760.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) config SND_SIU_MIGOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) tristate "SIU sound support on Migo-R"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) depends on SH_MIGOR && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) select SND_SOC_SH4_SIU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) select SND_SOC_WM8978
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) This option enables sound support for the SH7722 Migo-R board
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) endmenu