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