blob: 638983123d8fcc8e071563ab0dc495da394e330d [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Randy Li090d9342016-09-20 02:57:50 +08002menuconfig SND_SOC_SAMSUNG
Jassi Brara964f342010-11-22 15:37:22 +09003 tristate "ASoC support for Samsung"
Krzysztof Kozlowskia41dcde2016-11-20 21:24:54 +02004 depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
5 depends on COMMON_CLK
Vasily Khoruzhick87b132bc02014-06-23 23:24:04 +03006 select SND_SOC_GENERIC_DMAENGINE_PCM
Randy Li090d9342016-09-20 02:57:50 +08007 ---help---
Graeme Gregory86e1f0d2007-02-14 13:20:46 +01008 Say Y or M if you want to add support for codecs attached to
Jassi Brara964f342010-11-22 15:37:22 +09009 the Samsung SoCs' Audio interfaces. You will also need to
Mark Brown6e498d52009-04-09 16:40:41 +010010 select the audio interfaces to support below.
Graeme Gregory86e1f0d2007-02-14 13:20:46 +010011
Randy Li090d9342016-09-20 02:57:50 +080012if SND_SOC_SAMSUNG
13
Jassi Brara964f342010-11-22 15:37:22 +090014config SND_S3C24XX_I2S
Graeme Gregory86e1f0d2007-02-14 13:20:46 +010015 tristate
Graeme Gregory80ab1c02007-05-14 11:06:11 +020016
Ben Dooksdc854472009-03-04 00:49:30 +000017config SND_S3C_I2SV2_SOC
18 tristate
19
Ben Dooks49646df2008-01-10 14:47:21 +010020config SND_S3C2412_SOC_I2S
21 tristate
Ben Dooksdc854472009-03-04 00:49:30 +000022 select SND_S3C_I2SV2_SOC
Ben Dooks49646df2008-01-10 14:47:21 +010023
Jassi Brara964f342010-11-22 15:37:22 +090024config SND_SAMSUNG_PCM
Randy Li090d9342016-09-20 02:57:50 +080025 tristate "Samsung PCM interface support"
Jassi Brar357a1db2009-11-17 16:54:03 +090026
Jassi Brara964f342010-11-22 15:37:22 +090027config SND_SAMSUNG_SPDIF
Randy Li090d9342016-09-20 02:57:50 +080028 tristate "Samsung SPDIF transmitter support"
Seungwhan Younfc127cc2010-10-12 20:51:23 +090029 select SND_SOC_SPDIF
30
Jassi Brar1c7ac012010-11-22 15:36:59 +090031config SND_SAMSUNG_I2S
Randy Li090d9342016-09-20 02:57:50 +080032 tristate "Samsung I2S interface support"
Jassi Brar1c7ac012010-11-22 15:36:59 +090033
Mark Brown8c1b5302011-01-02 14:07:46 +000034config SND_SOC_SAMSUNG_NEO1973_WM8753
Paul Bolleec20fba2013-03-12 23:09:35 +010035 tristate "Audio support for Openmoko Neo1973 Smartphones (GTA02)"
Randy Li090d9342016-09-20 02:57:50 +080036 depends on MACH_NEO1973_GTA02
Jassi Brara964f342010-11-22 15:37:22 +090037 select SND_S3C24XX_I2S
Graeme Gregory80ab1c02007-05-14 11:06:11 +020038 select SND_SOC_WM8753
Takashi Iwai04c95482013-06-21 18:09:49 +020039 select SND_SOC_BT_SCO
Graeme Gregory80ab1c02007-05-14 11:06:11 +020040 help
Lars-Peter Clausenf5c4ffb2011-03-07 08:04:58 +010041 Say Y here to enable audio support for the Openmoko Neo1973
42 Smartphones.
Graeme Gregory80ab1c02007-05-14 11:06:11 +020043
Mark Brown8c1b5302011-01-02 14:07:46 +000044config SND_SOC_SAMSUNG_JIVE_WM8750
Ben Dooks3093e482009-03-04 00:49:27 +000045 tristate "SoC I2S Audio support for Jive"
Randy Li090d9342016-09-20 02:57:50 +080046 depends on MACH_JIVE && I2C
Ben Dooks3093e482009-03-04 00:49:27 +000047 select SND_SOC_WM8750
Ben Dooks3093e482009-03-04 00:49:27 +000048 select SND_S3C2412_SOC_I2S
49 help
Sachin Kamat25e7e342014-01-30 11:58:28 +053050 Say Y if you want to add support for SoC audio on the Jive.
Ben Dooks3093e482009-03-04 00:49:27 +000051
Mark Brown8c1b5302011-01-02 14:07:46 +000052config SND_SOC_SAMSUNG_SMDK_WM8580
Jassi Brard98ce6c2010-11-22 15:37:16 +090053 tristate "SoC I2S Audio support for WM8580 on SMDK"
Krzysztof Kozlowski95f56092016-11-20 21:24:53 +020054 depends on MACH_SMDK6410 || COMPILE_TEST
Lars-Peter Clausena59aa182015-01-16 20:04:16 +010055 depends on I2C
jassi brard0f5fa12009-09-19 09:46:06 +090056 select SND_SOC_WM8580
Jassi Brar0fff21a2010-11-22 15:37:07 +090057 select SND_SAMSUNG_I2S
jassi brard0f5fa12009-09-19 09:46:06 +090058 help
Jassi Brard98ce6c2010-11-22 15:37:16 +090059 Say Y if you want to add support for SoC audio on the SMDKs.
jassi brard0f5fa12009-09-19 09:46:06 +090060
Mark Brown8c1b5302011-01-02 14:07:46 +000061config SND_SOC_SAMSUNG_SMDK_WM8994
Jassi Brar96657d32010-12-20 11:05:57 +090062 tristate "SoC I2S Audio support for WM8994 on SMDK"
Martin Schwidefsky0244ad02013-08-30 09:39:53 +020063 depends on I2C=y
Arnd Bergmann61e49bf2011-10-03 16:35:46 +020064 select MFD_WM8994
Jassi Brar96657d32010-12-20 11:05:57 +090065 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
Mark Brown8c1b5302011-01-02 14:07:46 +000070config SND_SOC_SAMSUNG_S3C24XX_UDA134X
Christian Pellegrin7ad933d2008-11-15 08:58:32 +010071 tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"
Randy Li090d9342016-09-20 02:57:50 +080072 depends on ARCH_S3C24XX
Jassi Brara964f342010-11-22 15:37:22 +090073 select SND_S3C24XX_I2S
Mark Brown070504ad2009-01-23 15:34:54 +000074 select SND_SOC_L3
Jassi Brara964f342010-11-22 15:37:22 +090075 select SND_SOC_UDA134X
Ben Dooks14412ac2009-08-20 22:50:40 +010076
Mark Brown8c1b5302011-01-02 14:07:46 +000077config SND_SOC_SAMSUNG_SIMTEC
Ben Dooks14412ac2009-08-20 22:50:40 +010078 tristate
79 help
80 Internal node for common S3C24XX/Simtec suppor
81
Mark Brown8c1b5302011-01-02 14:07:46 +000082config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23
Ben Dooks14412ac2009-08-20 22:50:40 +010083 tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
Randy Li090d9342016-09-20 02:57:50 +080084 depends on ARCH_S3C24XX && I2C
Jassi Brara964f342010-11-22 15:37:22 +090085 select SND_S3C24XX_I2S
Max Filippovcc1bc542014-03-06 14:04:42 +040086 select SND_SOC_TLV320AIC23_I2C
Mark Brown8c1b5302011-01-02 14:07:46 +000087 select SND_SOC_SAMSUNG_SIMTEC
Ben Dooksb2ec22e2009-08-20 22:50:43 +010088
Mark Brown8c1b5302011-01-02 14:07:46 +000089config SND_SOC_SAMSUNG_SIMTEC_HERMES
Ben Dooksb2ec22e2009-08-20 22:50:43 +010090 tristate "SoC I2S Audio support for Simtec Hermes board"
Randy Li090d9342016-09-20 02:57:50 +080091 depends on ARCH_S3C24XX && I2C
Jassi Brara964f342010-11-22 15:37:22 +090092 select SND_S3C24XX_I2S
Ben Dooksb2ec22e2009-08-20 22:50:43 +010093 select SND_SOC_TLV320AIC3X
Mark Brown8c1b5302011-01-02 14:07:46 +000094 select SND_SOC_SAMSUNG_SIMTEC
Jassi Brarff6e64d2010-01-27 14:59:19 +090095
Mark Brown8c1b5302011-01-02 14:07:46 +000096config SND_SOC_SAMSUNG_H1940_UDA1380
Vasily Khoruzhick19576682010-12-09 21:17:56 +020097 tristate "Audio support for the HP iPAQ H1940"
Randy Li090d9342016-09-20 02:57:50 +080098 depends on ARCH_H1940 && I2C
Vasily Khoruzhick19576682010-12-09 21:17:56 +020099 select SND_S3C24XX_I2S
100 select SND_SOC_UDA1380
101 help
102 This driver provides audio support for HP iPAQ h1940 PDA.
103
Mark Brown8c1b5302011-01-02 14:07:46 +0000104config SND_SOC_SAMSUNG_RX1950_UDA1380
Vasily Khoruzhick81d97802010-08-30 11:28:08 +0300105 tristate "Audio support for the HP iPAQ RX1950"
Randy Li090d9342016-09-20 02:57:50 +0800106 depends on MACH_RX1950 && I2C
Jassi Brara964f342010-11-22 15:37:22 +0900107 select SND_S3C24XX_I2S
Vasily Khoruzhick81d97802010-08-30 11:28:08 +0300108 select SND_SOC_UDA1380
109 help
110 This driver provides audio support for HP iPAQ RX1950 PDA.
111
Mark Brown8c1b5302011-01-02 14:07:46 +0000112config SND_SOC_SMARTQ
Maurus Cuelenaerece93a372010-07-03 02:46:12 +0200113 tristate "SoC I2S Audio support for SmartQ board"
Krzysztof Kozlowski95f56092016-11-20 21:24:53 +0200114 depends on MACH_SMARTQ || COMPILE_TEST
Fabian Frederick0223f502016-12-09 19:13:26 +0100115 depends on GPIOLIB || COMPILE_TEST
Krzysztof Kozlowski95f56092016-11-20 21:24:53 +0200116 depends on I2C
Jassi Brarb9493d62010-11-22 15:37:02 +0900117 select SND_SAMSUNG_I2S
Maurus Cuelenaerece93a372010-07-03 02:46:12 +0200118 select SND_SOC_WM8750
Chanwoo Choi3782a522010-07-21 08:06:56 +0900119
Mark Brown8c1b5302011-01-02 14:07:46 +0000120config SND_SOC_SAMSUNG_SMDK_SPDIF
Seungwhan Younb67089e2010-10-12 20:58:52 +0900121 tristate "SoC S/PDIF Audio support for SMDK"
Jassi Brara964f342010-11-22 15:37:22 +0900122 select SND_SAMSUNG_SPDIF
Seungwhan Younb67089e2010-10-12 20:58:52 +0900123 help
124 Say Y if you want to add support for SoC S/PDIF audio on the SMDK.
Sangbeom Kimb8eeee62011-04-09 10:57:59 +0900125
Sangbeom Kimd2ec3ab2011-06-20 17:29:29 +0900126config SND_SOC_SMDK_WM8994_PCM
127 tristate "SoC PCM Audio support for WM8994 on SMDK"
Martin Schwidefsky0244ad02013-08-30 09:39:53 +0200128 depends on I2C=y
Arnd Bergmann61e49bf2011-10-03 16:35:46 +0200129 select MFD_WM8994
Sangbeom Kimd2ec3ab2011-06-20 17:29:29 +0900130 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
Mark Brown9b8dc662011-04-12 17:24:39 -0700135config SND_SOC_SPEYSIDE
136 tristate "Audio support for Wolfson Speyside"
Randy Li090d9342016-09-20 02:57:50 +0800137 depends on I2C && SPI_MASTER
Lars-Peter Clausen29ea3ac2015-05-03 20:13:35 +0200138 depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
Mark Brown9b8dc662011-04-12 17:24:39 -0700139 select SND_SAMSUNG_I2S
Mark Browna9ba6152011-06-24 12:10:44 +0100140 select SND_SOC_WM8996
Mark Brownea3e98e2011-04-11 23:42:25 -0700141 select SND_SOC_WM9081
Mark Brownf9372c92012-08-23 17:05:48 +0100142 select SND_SOC_WM0010
Joseph Pentland52c49e02011-08-23 10:41:50 +0100143 select SND_SOC_WM1250_EV1
Mark Brown22cb8392011-04-25 18:30:45 +0100144
Mark Brown64142612011-11-30 13:30:27 +0000145config SND_SOC_TOBERMORY
146 tristate "Audio support for Wolfson Tobermory"
Randy Li090d9342016-09-20 02:57:50 +0800147 depends on INPUT && I2C
Lars-Peter Clausen29ea3ac2015-05-03 20:13:35 +0200148 depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
Mark Brown22cb8392011-04-25 18:30:45 +0100149 select SND_SAMSUNG_I2S
150 select SND_SOC_WM8962
Mark Brownabda5df2011-08-23 17:40:01 +0100151
Mark Brownb545dd92012-08-07 20:03:02 +0100152config SND_SOC_BELLS
153 tristate "Audio support for Wolfson Bells"
Randy Li090d9342016-09-20 02:57:50 +0800154 depends on MFD_ARIZONA && I2C && SPI_MASTER
Lars-Peter Clausen29ea3ac2015-05-03 20:13:35 +0200155 depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
Mark Brownb545dd92012-08-07 20:03:02 +0100156 select SND_SAMSUNG_I2S
157 select SND_SOC_WM5102
158 select SND_SOC_WM5110
159 select SND_SOC_WM9081
Dimitris Papastamos213a7962012-11-02 13:02:53 +0000160 select SND_SOC_WM0010
Dimitris Papastamos4868ce52012-11-02 13:02:54 +0000161 select SND_SOC_WM1250_EV1
Mark Brownb545dd92012-08-07 20:03:02 +0100162
Mark Brownabda5df2011-08-23 17:40:01 +0100163config SND_SOC_LOWLAND
164 tristate "Audio support for Wolfson Lowland"
Randy Li090d9342016-09-20 02:57:50 +0800165 depends on I2C
Lars-Peter Clausen29ea3ac2015-05-03 20:13:35 +0200166 depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
Mark Brownabda5df2011-08-23 17:40:01 +0100167 select SND_SAMSUNG_I2S
168 select SND_SOC_WM5100
169 select SND_SOC_WM9081
Mark Brown0a590b12011-11-28 22:05:41 +0000170
171config SND_SOC_LITTLEMILL
172 tristate "Audio support for Wolfson Littlemill"
Randy Li090d9342016-09-20 02:57:50 +0800173 depends on I2C
Lars-Peter Clausen29ea3ac2015-05-03 20:13:35 +0200174 depends on MACH_WLF_CRAGG_6410 || COMPILE_TEST
Mark Brown0a590b12011-11-28 22:05:41 +0000175 select SND_SAMSUNG_I2S
Axel Lindd85ecc2011-12-04 08:15:17 +0800176 select MFD_WM8994
Mark Brown0a590b12011-11-28 22:05:41 +0000177 select SND_SOC_WM8994
Tushar Behera31c26a62014-04-28 10:14:39 +0530178
179config SND_SOC_SNOW
180 tristate "Audio support for Google Snow boards"
Randy Li090d9342016-09-20 02:57:50 +0800181 depends on I2C
Tushar Behera31c26a62014-04-28 10:14:39 +0530182 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.
Sylwester Nawrockia40712a2014-07-04 15:13:45 +0200188
Sylwester Nawrockiaba611f2017-04-21 19:19:50 +0200189config 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
Krishna Mohan Danid683d0b2014-11-26 14:53:04 +0530197config SND_SOC_ARNDALE_RT5631_ALC5631
198 tristate "Audio support for RT5631(ALC5631) on Arndale Board"
Randy Li090d9342016-09-20 02:57:50 +0800199 depends on I2C
Krishna Mohan Danid683d0b2014-11-26 14:53:04 +0530200 select SND_SAMSUNG_I2S
201 select SND_SOC_RT5631
Randy Li090d9342016-09-20 02:57:50 +0800202
Sylwester Nawrocki1bfbc262016-11-02 17:05:45 +0100203config 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
Fabian Frederick0223f502016-12-09 19:13:26 +0100206 depends on GPIOLIB || COMPILE_TEST
Sylwester Nawrocki1bfbc262016-11-02 17:05:45 +0100207 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
Randy Li090d9342016-09-20 02:57:50 +0800213endif #SND_SOC_SAMSUNG