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