xref: /openbmc/linux/sound/soc/samsung/Kconfig (revision fa0dadde)
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_SAMSUNG_PCM
15	tristate "Samsung PCM interface support"
16
17config SND_SAMSUNG_SPDIF
18	tristate "Samsung SPDIF transmitter support"
19	select SND_SOC_SPDIF
20
21config SND_SAMSUNG_I2S
22	tristate "Samsung I2S interface support"
23
24config SND_SOC_SAMSUNG_SMDK_WM8994
25	tristate "SoC I2S Audio support for WM8994 on SMDK"
26	depends on I2C=y
27	select MFD_WM8994
28	select SND_SOC_WM8994
29	select SND_SAMSUNG_I2S
30	help
31		Say Y if you want to add support for SoC audio on the SMDKs.
32
33config SND_SOC_SAMSUNG_SMDK_SPDIF
34	tristate "SoC S/PDIF Audio support for SMDK"
35	select SND_SAMSUNG_SPDIF
36	help
37	  Say Y if you want to add support for SoC S/PDIF audio on the SMDK.
38
39config SND_SOC_SMDK_WM8994_PCM
40	tristate "SoC PCM Audio support for WM8994 on SMDK"
41	depends on I2C=y
42	select MFD_WM8994
43	select SND_SOC_WM8994
44	select SND_SAMSUNG_PCM
45	help
46	  Say Y if you want to add support for SoC audio on the SMDK
47
48config SND_SOC_SPEYSIDE
49	tristate "Audio support for Wolfson Speyside"
50	depends on I2C && SPI_MASTER
51	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
52	select SND_SAMSUNG_I2S
53	select SND_SOC_WM8996
54	select SND_SOC_WM9081
55	select SND_SOC_WM0010
56	select SND_SOC_WM1250_EV1
57
58config SND_SOC_TOBERMORY
59	tristate "Audio support for Wolfson Tobermory"
60	depends on INPUT && I2C
61	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
62	select SND_SAMSUNG_I2S
63	select SND_SOC_WM8962
64
65config SND_SOC_BELLS
66	tristate "Audio support for Wolfson Bells"
67	depends on MFD_ARIZONA && MFD_WM5102 && MFD_WM5110 && I2C && SPI_MASTER
68	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
69	select SND_SAMSUNG_I2S
70	select SND_SOC_WM5102
71	select SND_SOC_WM5110
72	select SND_SOC_WM9081
73	select SND_SOC_WM0010
74	select SND_SOC_WM1250_EV1
75
76config SND_SOC_LOWLAND
77	tristate "Audio support for Wolfson Lowland"
78	depends on I2C
79	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
80	select SND_SAMSUNG_I2S
81	select SND_SOC_WM5100
82	select SND_SOC_WM9081
83
84config SND_SOC_LITTLEMILL
85	tristate "Audio support for Wolfson Littlemill"
86	depends on I2C
87	depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
88	select SND_SAMSUNG_I2S
89	select MFD_WM8994
90	select SND_SOC_WM8994
91
92config SND_SOC_SNOW
93	tristate "Audio support for Google Snow boards"
94	depends on I2C
95	select SND_SOC_MAX98090
96	select SND_SOC_MAX98095
97	select SND_SAMSUNG_I2S
98	help
99	  Say Y if you want to add audio support for various Snow
100	  boards based on Exynos5 series of SoCs.
101
102config SND_SOC_ODROID
103	tristate "Audio support for Odroid XU3/XU4"
104	depends on SND_SOC_SAMSUNG && I2C
105	select SND_SOC_MAX98090
106	select SND_SAMSUNG_I2S
107	help
108	  Say Y here to enable audio support for the Odroid XU3/XU4.
109
110config SND_SOC_ARNDALE
111	tristate "Audio support for Arndale Board"
112	depends on I2C
113	select SND_SAMSUNG_I2S
114	select SND_SOC_RT5631
115	select MFD_WM8994
116	select SND_SOC_WM8994
117
118config SND_SOC_SAMSUNG_TM2_WM5110
119	tristate "SoC I2S Audio support for WM5110 on TM2 board"
120	depends on SND_SOC_SAMSUNG && MFD_ARIZONA && MFD_WM5110 && I2C && SPI_MASTER
121	depends on GPIOLIB || COMPILE_TEST
122	select SND_SOC_MAX98504
123	select SND_SOC_WM5110
124	select SND_SAMSUNG_I2S
125	help
126	  Say Y if you want to add support for SoC audio on the TM2 board.
127
128config SND_SOC_SAMSUNG_ARIES_WM8994
129	tristate "SoC I2S Audio support for WM8994 on Aries"
130	depends on SND_SOC_SAMSUNG && MFD_WM8994 && IIO && EXTCON
131	select SND_SOC_BT_SCO
132	select SND_SOC_WM8994
133	select SND_SAMSUNG_I2S
134	help
135	  Say Y if you want to add support for SoC audio on Aries boards,
136	  which has a WM8994 codec connected to a BT codec, a cellular
137	  modem, and the Samsung I2S controller.  Jack detection is done
138	  via ADC, GPIOs, and an extcon device.  Switching between the Mic
139	  and TV-Out path is also handled.
140
141config SND_SOC_SAMSUNG_MIDAS_WM1811
142	tristate "SoC I2S Audio support for Midas boards"
143	depends on SND_SOC_SAMSUNG
144	select SND_SAMSUNG_I2S
145	select SND_SOC_WM8994
146	help
147	  Say Y if you want to add support for SoC audio on the Midas boards.
148
149endif #SND_SOC_SAMSUNG
150