xref: /openbmc/linux/sound/soc/samsung/Kconfig (revision 20e2fc42)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig SND_SOC_SAMSUNG
3	tristate "ASoC support for Samsung"
4	depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
5	depends on COMMON_CLK
6	select SND_SOC_GENERIC_DMAENGINE_PCM
7	---help---
8	  Say Y or M if you want to add support for codecs attached to
9	  the Samsung SoCs' Audio interfaces. You will also need to
10	  select the audio interfaces to support below.
11
12if SND_SOC_SAMSUNG
13
14config SND_S3C24XX_I2S
15	tristate
16
17config SND_S3C_I2SV2_SOC
18	tristate
19
20config SND_S3C2412_SOC_I2S
21	tristate
22	select SND_S3C_I2SV2_SOC
23
24config SND_SAMSUNG_PCM
25	tristate "Samsung PCM interface support"
26
27config SND_SAMSUNG_SPDIF
28	tristate "Samsung SPDIF transmitter support"
29	select SND_SOC_SPDIF
30
31config SND_SAMSUNG_I2S
32	tristate "Samsung I2S interface support"
33
34config SND_SOC_SAMSUNG_NEO1973_WM8753
35	tristate "Audio support for Openmoko Neo1973 Smartphones (GTA02)"
36	depends on MACH_NEO1973_GTA02
37	select SND_S3C24XX_I2S
38	select SND_SOC_WM8753
39	select SND_SOC_BT_SCO
40	help
41	  Say Y here to enable audio support for the Openmoko Neo1973
42	  Smartphones.
43
44config SND_SOC_SAMSUNG_JIVE_WM8750
45	tristate "SoC I2S Audio support for Jive"
46	depends on MACH_JIVE && I2C
47	select SND_SOC_WM8750
48	select SND_S3C2412_SOC_I2S
49	help
50	  Say Y if you want to add support for SoC audio on the Jive.
51
52config SND_SOC_SAMSUNG_SMDK_WM8580
53	tristate "SoC I2S Audio support for WM8580 on SMDK"
54	depends on MACH_SMDK6410 || COMPILE_TEST
55	depends on I2C
56	select SND_SOC_WM8580
57	select SND_SAMSUNG_I2S
58	help
59	  Say Y if you want to add support for SoC audio on the SMDKs.
60
61config SND_SOC_SAMSUNG_SMDK_WM8994
62	tristate "SoC I2S Audio support for WM8994 on SMDK"
63	depends on I2C=y
64	select MFD_WM8994
65	select SND_SOC_WM8994
66	select SND_SAMSUNG_I2S
67	help
68		Say Y if you want to add support for SoC audio on the SMDKs.
69
70config SND_SOC_SAMSUNG_S3C24XX_UDA134X
71	tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"
72	depends on ARCH_S3C24XX
73	select SND_S3C24XX_I2S
74	select SND_SOC_L3
75	select SND_SOC_UDA134X
76
77config SND_SOC_SAMSUNG_SIMTEC
78	tristate
79	help
80	  Internal node for common S3C24XX/Simtec suppor
81
82config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23
83	tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
84	depends on ARCH_S3C24XX && I2C
85	select SND_S3C24XX_I2S
86	select SND_SOC_TLV320AIC23_I2C
87	select SND_SOC_SAMSUNG_SIMTEC
88
89config SND_SOC_SAMSUNG_SIMTEC_HERMES
90	tristate "SoC I2S Audio support for Simtec Hermes board"
91	depends on ARCH_S3C24XX && I2C
92	select SND_S3C24XX_I2S
93	select SND_SOC_TLV320AIC3X
94	select SND_SOC_SAMSUNG_SIMTEC
95
96config SND_SOC_SAMSUNG_H1940_UDA1380
97	tristate "Audio support for the HP iPAQ H1940"
98	depends on ARCH_H1940 && I2C
99	select SND_S3C24XX_I2S
100	select SND_SOC_UDA1380
101	help
102	  This driver provides audio support for HP iPAQ h1940 PDA.
103
104config SND_SOC_SAMSUNG_RX1950_UDA1380
105	tristate "Audio support for the HP iPAQ RX1950"
106	depends on MACH_RX1950 && I2C
107	select SND_S3C24XX_I2S
108	select SND_SOC_UDA1380
109	help
110	  This driver provides audio support for HP iPAQ RX1950 PDA.
111
112config SND_SOC_SMARTQ
113	tristate "SoC I2S Audio support for SmartQ board"
114	depends on MACH_SMARTQ || COMPILE_TEST
115	depends on GPIOLIB || COMPILE_TEST
116	depends on I2C
117	select SND_SAMSUNG_I2S
118	select SND_SOC_WM8750
119
120config SND_SOC_SAMSUNG_SMDK_SPDIF
121	tristate "SoC S/PDIF Audio support for SMDK"
122	select SND_SAMSUNG_SPDIF
123	help
124	  Say Y if you want to add support for SoC S/PDIF audio on the SMDK.
125
126config SND_SOC_SMDK_WM8994_PCM
127	tristate "SoC PCM Audio support for WM8994 on SMDK"
128	depends on I2C=y
129	select MFD_WM8994
130	select SND_SOC_WM8994
131	select SND_SAMSUNG_PCM
132	help
133	  Say Y if you want to add support for SoC audio on the SMDK
134
135config SND_SOC_SPEYSIDE
136	tristate "Audio support for Wolfson Speyside"
137	depends on I2C && SPI_MASTER
138	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
139	select SND_SAMSUNG_I2S
140	select SND_SOC_WM8996
141	select SND_SOC_WM9081
142	select SND_SOC_WM0010
143	select SND_SOC_WM1250_EV1
144
145config SND_SOC_TOBERMORY
146	tristate "Audio support for Wolfson Tobermory"
147	depends on INPUT && I2C
148	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
149	select SND_SAMSUNG_I2S
150	select SND_SOC_WM8962
151
152config SND_SOC_BELLS
153	tristate "Audio support for Wolfson Bells"
154	depends on MFD_ARIZONA && I2C && SPI_MASTER
155	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
156	select SND_SAMSUNG_I2S
157	select SND_SOC_WM5102
158	select SND_SOC_WM5110
159	select SND_SOC_WM9081
160	select SND_SOC_WM0010
161	select SND_SOC_WM1250_EV1
162
163config SND_SOC_LOWLAND
164	tristate "Audio support for Wolfson Lowland"
165	depends on I2C
166	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
167	select SND_SAMSUNG_I2S
168	select SND_SOC_WM5100
169	select SND_SOC_WM9081
170
171config SND_SOC_LITTLEMILL
172	tristate "Audio support for Wolfson Littlemill"
173	depends on I2C
174	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
175	select SND_SAMSUNG_I2S
176	select MFD_WM8994
177	select SND_SOC_WM8994
178
179config SND_SOC_SNOW
180	tristate "Audio support for Google Snow boards"
181	depends on I2C
182	select SND_SOC_MAX98090
183	select SND_SOC_MAX98095
184	select SND_SAMSUNG_I2S
185	help
186	  Say Y if you want to add audio support for various Snow
187	  boards based on Exynos5 series of SoCs.
188
189config SND_SOC_ODROID
190	tristate "Audio support for Odroid XU3/XU4"
191	depends on SND_SOC_SAMSUNG && I2C
192	select SND_SOC_MAX98090
193	select SND_SAMSUNG_I2S
194	help
195	  Say Y here to enable audio support for the Odroid XU3/XU4.
196
197config SND_SOC_ARNDALE_RT5631_ALC5631
198        tristate "Audio support for RT5631(ALC5631) on Arndale Board"
199        depends on I2C
200        select SND_SAMSUNG_I2S
201        select SND_SOC_RT5631
202
203config SND_SOC_SAMSUNG_TM2_WM5110
204	tristate "SoC I2S Audio support for WM5110 on TM2 board"
205	depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER
206	depends on GPIOLIB || COMPILE_TEST
207	select SND_SOC_MAX98504
208	select SND_SOC_WM5110
209	select SND_SAMSUNG_I2S
210	help
211	  Say Y if you want to add support for SoC audio on the TM2 board.
212
213endif #SND_SOC_SAMSUNG
214