66517915e0
The config option SND_FSI_AK4642 selects SND_SOC_AK4642 which in turn enables the compilation of ak4642.c - however this codec uses I2C to communicate with the HW. Same applies to DA7210. Consequently when I2C is not set, the compilation fails [1] This patch fixes this issues, by adding a depencdency on the related HW- controller. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
73 lines
1.5 KiB
Text
73 lines
1.5 KiB
Text
menu "SoC Audio support for SuperH"
|
|
depends on SUPERH || ARCH_SHMOBILE
|
|
|
|
config SND_SOC_PCM_SH7760
|
|
tristate "SoC Audio support for Renesas SH7760"
|
|
depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
|
|
help
|
|
Enable this option for SH7760 AC97/I2S audio support.
|
|
|
|
|
|
##
|
|
## Audio unit modules
|
|
##
|
|
|
|
config SND_SOC_SH4_HAC
|
|
tristate
|
|
select AC97_BUS
|
|
select SND_SOC_AC97_BUS
|
|
|
|
config SND_SOC_SH4_SSI
|
|
tristate
|
|
|
|
config SND_SOC_SH4_FSI
|
|
tristate "SH4 FSI support"
|
|
help
|
|
This option enables FSI sound support
|
|
|
|
config SND_SOC_SH4_SIU
|
|
tristate
|
|
depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
|
|
select DMA_ENGINE
|
|
select DMADEVICES
|
|
select SH_DMAE
|
|
select FW_LOADER
|
|
|
|
##
|
|
## Boards
|
|
##
|
|
|
|
config SND_SH7760_AC97
|
|
tristate "SH7760 AC97 sound support"
|
|
depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
|
|
select SND_SOC_SH4_HAC
|
|
select SND_SOC_AC97_CODEC
|
|
help
|
|
This option enables generic sound support for the first
|
|
AC97 unit of the SH7760.
|
|
|
|
config SND_FSI_AK4642
|
|
bool "FSI-AK4642 sound support"
|
|
depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
|
|
select SND_SOC_AK4642
|
|
help
|
|
This option enables generic sound support for the
|
|
FSI - AK4642 unit
|
|
|
|
config SND_FSI_DA7210
|
|
bool "FSI-DA7210 sound support"
|
|
depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
|
|
select SND_SOC_DA7210
|
|
help
|
|
This option enables generic sound support for the
|
|
FSI - DA7210 unit
|
|
|
|
config SND_SIU_MIGOR
|
|
tristate "SIU sound support on Migo-R"
|
|
depends on SH_MIGOR
|
|
select SND_SOC_SH4_SIU
|
|
select SND_SOC_WM8978
|
|
help
|
|
This option enables sound support for the SH7722 Migo-R board
|
|
|
|
endmenu
|