xref: /linux/sound/soc/samsung/Kconfig (revision fb2ac84f8acccdec644d26dfc8ba6554f30cd6c0)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig SND_SOC_SAMSUNG
3	tristate "ASoC support for Samsung"
4	depends on PLAT_SAMSUNG || ARCH_S5PV210 || 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 || COMPILE_TEST
37	depends on SND_SOC_I2C_AND_SPI
38	select SND_S3C24XX_I2S
39	select SND_SOC_WM8753
40	select SND_SOC_BT_SCO
41	help
42	  Say Y here to enable audio support for the Openmoko Neo1973
43	  Smartphones.
44
45config SND_SOC_SAMSUNG_JIVE_WM8750
46	tristate "SoC I2S Audio support for Jive"
47	depends on MACH_JIVE && I2C || COMPILE_TEST && ARM
48	depends on SND_SOC_I2C_AND_SPI
49	select SND_SOC_WM8750
50	select SND_S3C2412_SOC_I2S
51	help
52	  Say Y if you want to add support for SoC audio on the Jive.
53
54config SND_SOC_SAMSUNG_SMDK_WM8580
55	tristate "SoC I2S Audio support for WM8580 on SMDK"
56	depends on MACH_SMDK6410 || COMPILE_TEST
57	depends on I2C
58	select SND_SOC_WM8580
59	select SND_SAMSUNG_I2S
60	help
61	  Say Y if you want to add support for SoC audio on the SMDKs.
62
63config SND_SOC_SAMSUNG_SMDK_WM8994
64	tristate "SoC I2S Audio support for WM8994 on SMDK"
65	depends on I2C=y
66	select MFD_WM8994
67	select SND_SOC_WM8994
68	select SND_SAMSUNG_I2S
69	help
70		Say Y if you want to add support for SoC audio on the SMDKs.
71
72config SND_SOC_SAMSUNG_S3C24XX_UDA134X
73	tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"
74	depends on ARCH_S3C24XX || COMPILE_TEST
75	select SND_S3C24XX_I2S
76	select SND_SOC_L3
77	select SND_SOC_UDA134X
78
79config SND_SOC_SAMSUNG_SIMTEC
80	tristate
81	help
82	  Internal node for common S3C24XX/Simtec support.
83
84config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23
85	tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
86	depends on ARCH_S3C24XX || COMPILE_TEST
87	depends on I2C
88	select SND_S3C24XX_I2S
89	select SND_SOC_TLV320AIC23_I2C
90	select SND_SOC_SAMSUNG_SIMTEC
91
92config SND_SOC_SAMSUNG_SIMTEC_HERMES
93	tristate "SoC I2S Audio support for Simtec Hermes board"
94	depends on ARCH_S3C24XX || COMPILE_TEST
95	depends on I2C
96	select SND_S3C24XX_I2S
97	select SND_SOC_TLV320AIC3X
98	select SND_SOC_SAMSUNG_SIMTEC
99
100config SND_SOC_SAMSUNG_H1940_UDA1380
101	tristate "Audio support for the HP iPAQ H1940"
102	depends on ARCH_H1940 || COMPILE_TEST
103	depends on I2C
104	select SND_S3C24XX_I2S
105	select SND_SOC_UDA1380
106	help
107	  This driver provides audio support for HP iPAQ h1940 PDA.
108
109config SND_SOC_SAMSUNG_RX1950_UDA1380
110	tristate "Audio support for the HP iPAQ RX1950"
111	depends on MACH_RX1950 || COMPILE_TEST
112	depends on I2C
113	select SND_S3C24XX_I2S
114	select SND_SOC_UDA1380
115	help
116	  This driver provides audio support for HP iPAQ RX1950 PDA.
117
118config SND_SOC_SMARTQ
119	tristate "SoC I2S Audio support for SmartQ board"
120	depends on MACH_SMARTQ || COMPILE_TEST
121	depends on GPIOLIB || COMPILE_TEST
122	depends on I2C
123	select SND_SAMSUNG_I2S
124	select SND_SOC_WM8750
125
126config SND_SOC_SAMSUNG_SMDK_SPDIF
127	tristate "SoC S/PDIF Audio support for SMDK"
128	select SND_SAMSUNG_SPDIF
129	help
130	  Say Y if you want to add support for SoC S/PDIF audio on the SMDK.
131
132config SND_SOC_SMDK_WM8994_PCM
133	tristate "SoC PCM Audio support for WM8994 on SMDK"
134	depends on I2C=y
135	select MFD_WM8994
136	select SND_SOC_WM8994
137	select SND_SAMSUNG_PCM
138	help
139	  Say Y if you want to add support for SoC audio on the SMDK
140
141config SND_SOC_SPEYSIDE
142	tristate "Audio support for Wolfson Speyside"
143	depends on I2C && SPI_MASTER
144	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
145	select SND_SAMSUNG_I2S
146	select SND_SOC_WM8996
147	select SND_SOC_WM9081
148	select SND_SOC_WM0010
149	select SND_SOC_WM1250_EV1
150
151config SND_SOC_TOBERMORY
152	tristate "Audio support for Wolfson Tobermory"
153	depends on INPUT && I2C
154	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
155	select SND_SAMSUNG_I2S
156	select SND_SOC_WM8962
157
158config SND_SOC_BELLS
159	tristate "Audio support for Wolfson Bells"
160	depends on MFD_ARIZONA && MFD_WM5102 && MFD_WM5110 && I2C && SPI_MASTER
161	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
162	select SND_SAMSUNG_I2S
163	select SND_SOC_WM5102
164	select SND_SOC_WM5110
165	select SND_SOC_WM9081
166	select SND_SOC_WM0010
167	select SND_SOC_WM1250_EV1
168
169config SND_SOC_LOWLAND
170	tristate "Audio support for Wolfson Lowland"
171	depends on I2C
172	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
173	select SND_SAMSUNG_I2S
174	select SND_SOC_WM5100
175	select SND_SOC_WM9081
176
177config SND_SOC_LITTLEMILL
178	tristate "Audio support for Wolfson Littlemill"
179	depends on I2C
180	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
181	select SND_SAMSUNG_I2S
182	select MFD_WM8994
183	select SND_SOC_WM8994
184
185config SND_SOC_SNOW
186	tristate "Audio support for Google Snow boards"
187	depends on I2C
188	select SND_SOC_MAX98090
189	select SND_SOC_MAX98095
190	select SND_SAMSUNG_I2S
191	help
192	  Say Y if you want to add audio support for various Snow
193	  boards based on Exynos5 series of SoCs.
194
195config SND_SOC_ODROID
196	tristate "Audio support for Odroid XU3/XU4"
197	depends on SND_SOC_SAMSUNG && I2C
198	select SND_SOC_MAX98090
199	select SND_SAMSUNG_I2S
200	help
201	  Say Y here to enable audio support for the Odroid XU3/XU4.
202
203config SND_SOC_ARNDALE
204	tristate "Audio support for Arndale Board"
205	depends on I2C
206	select SND_SAMSUNG_I2S
207	select SND_SOC_RT5631
208	select MFD_WM8994
209	select SND_SOC_WM8994
210
211config SND_SOC_SAMSUNG_TM2_WM5110
212	tristate "SoC I2S Audio support for WM5110 on TM2 board"
213	depends on SND_SOC_SAMSUNG && MFD_ARIZONA && MFD_WM5110 && I2C && SPI_MASTER
214	depends on GPIOLIB || COMPILE_TEST
215	select SND_SOC_MAX98504
216	select SND_SOC_WM5110
217	select SND_SAMSUNG_I2S
218	help
219	  Say Y if you want to add support for SoC audio on the TM2 board.
220
221config SND_SOC_SAMSUNG_ARIES_WM8994
222	tristate "SoC I2S Audio support for WM8994 on Aries"
223	depends on SND_SOC_SAMSUNG && MFD_WM8994 && IIO && EXTCON
224	select SND_SOC_BT_SCO
225	select SND_SOC_WM8994
226	select SND_SAMSUNG_I2S
227	help
228	  Say Y if you want to add support for SoC audio on Aries boards,
229	  which has a WM8994 codec connected to a BT codec, a cellular
230	  modem, and the Samsung I2S controller.  Jack detection is done
231	  via ADC, GPIOs, and an extcon device.  Switching between the Mic
232	  and TV-Out path is also handled.
233
234config SND_SOC_SAMSUNG_MIDAS_WM1811
235	tristate "SoC I2S Audio support for Midas boards"
236	depends on SND_SOC_SAMSUNG
237	select SND_SAMSUNG_I2S
238	select SND_SOC_WM8994
239	help
240	  Say Y if you want to add support for SoC audio on the Midas boards.
241
242endif #SND_SOC_SAMSUNG
243