xref: /linux/sound/soc/renesas/Kconfig (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1# SPDX-License-Identifier: GPL-2.0
2menu "Renesas"
3	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
4
5config 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
16config SND_SOC_SH4_HAC
17	tristate
18	select AC97_BUS
19	select SND_SOC_AC97_BUS
20
21config SND_SOC_SH4_SSI
22	tristate
23
24config SND_SOC_SH4_FSI
25	tristate "SH4 FSI support"
26	depends on SUPERH || COMMON_CLK
27	select SND_SIMPLE_CARD
28	help
29	  This option enables FSI sound support
30
31config SND_SOC_SH4_SIU
32	tristate
33	depends on ARCH_SHMOBILE && HAVE_CLK
34	depends on DMADEVICES
35	select DMA_ENGINE
36	select SH_DMAE
37	select FW_LOADER
38
39config SND_SOC_RCAR
40	tristate "R-Car series SRU/SCU/SSIU/SSI support"
41	depends on COMMON_CLK
42	depends on OF
43	select SND_SIMPLE_CARD_UTILS
44	select SND_DMAENGINE_PCM
45	select REGMAP_MMIO
46	help
47	  This option enables R-Car SRU/SCU/SSIU/SSI sound support
48
49config SND_SOC_MSIOF
50	tristate "R-Car series MSIOF support"
51	depends on OF
52	select SND_DMAENGINE_PCM
53	help
54	  This option enables R-Car MSIOF sound support
55
56config SND_SOC_RZ
57	tristate "RZ/G2L series SSIF-2 support"
58	depends on ARCH_RZG2L || COMPILE_TEST
59	select SND_SOC_GENERIC_DMAENGINE_PCM
60	help
61	  This option enables RZ/G2L SSIF-2 sound support.
62
63##
64## Boards
65##
66
67config SND_SH7760_AC97
68	tristate "SH7760 AC97 sound support"
69	depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
70	select SND_SOC_SH4_HAC
71	select SND_SOC_AC97_CODEC
72	help
73	  This option enables generic sound support for the first
74	  AC97 unit of the SH7760.
75
76config SND_SIU_MIGOR
77	tristate "SIU sound support on Migo-R"
78	depends on SH_MIGOR && I2C && DMADEVICES
79	select SND_SOC_SH4_SIU
80	select SND_SOC_WM8978
81	help
82	  This option enables sound support for the SH7722 Migo-R board
83
84endmenu
85