xref: /openbmc/linux/sound/soc/pxa/Kconfig (revision 27821f4d)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC
3734c2d4bSLiam Girdwood	tristate "SoC Audio for the Intel PXA2xx chip"
473d7ee2eSKuninori Morimoto	depends on ARCH_PXA || COMPILE_TEST
5a6d77317SDmitry Baryshkov	select SND_PXA2XX_LIB
6734c2d4bSLiam Girdwood	help
7734c2d4bSLiam Girdwood	  Say Y or M if you want to add support for codecs attached to
8734c2d4bSLiam Girdwood	  the PXA2xx AC97, I2S or SSP interface. You will also need
9734c2d4bSLiam Girdwood	  to select the audio interfaces to support below.
10734c2d4bSLiam Girdwood
117a824e21SZhangfei Gaoconfig SND_MMP_SOC
127a824e21SZhangfei Gao	bool "Soc Audio for Marvell MMP chips"
137a824e21SZhangfei Gao	depends on ARCH_MMP
145ab0862eSArnd Bergmann	select MMP_SRAM
1548b752acSQiao Zhou	select SND_SOC_GENERIC_DMAENGINE_PCM
167a824e21SZhangfei Gao	select SND_ARM
177a824e21SZhangfei Gao	help
187a824e21SZhangfei Gao	  Say Y if you want to add support for codecs attached to
197a824e21SZhangfei Gao	  the MMP SSPA interface.
207a824e21SZhangfei Gao
21734c2d4bSLiam Girdwoodconfig SND_PXA2XX_AC97
22734c2d4bSLiam Girdwood	tristate
23734c2d4bSLiam Girdwood
24734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC_AC97
25734c2d4bSLiam Girdwood	tristate
261c8bc7b3SRobert Jarzmik	select AC97_BUS_NEW
2715812501SDaniel Mack	select SND_PXA2XX_LIB
28a6d77317SDmitry Baryshkov	select SND_PXA2XX_LIB_AC97
291c8bc7b3SRobert Jarzmik	select SND_SOC_AC97_BUS_NEW
30734c2d4bSLiam Girdwood
31734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC_I2S
3215812501SDaniel Mack	select SND_PXA2XX_LIB
33734c2d4bSLiam Girdwood	tristate
34734c2d4bSLiam Girdwood
351b340bd7SMark Brownconfig SND_PXA_SOC_SSP
360a94cf34SDaniel Mack	tristate "Soc Audio via PXA2xx/PXA3xx SSP ports"
379d1310daSArnd Bergmann	depends on PLAT_PXA
38866d091dSEric Miao	select PXA_SSP
3915812501SDaniel Mack	select SND_PXA2XX_LIB
401b340bd7SMark Brown
41fa375d42SZhangfei Gaoconfig SND_MMP_SOC_SSPA
42fa375d42SZhangfei Gao	tristate
43fa375d42SZhangfei Gao
44734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC_CORGI
45734c2d4bSLiam Girdwood	tristate "SoC Audio support for Sharp Zaurus SL-C7x0"
4638784764SArnd Bergmann	depends on SND_PXA2XX_SOC && PXA_SHARP_C7xx && I2C
47734c2d4bSLiam Girdwood	select SND_PXA2XX_SOC_I2S
48734c2d4bSLiam Girdwood	select SND_SOC_WM8731
49734c2d4bSLiam Girdwood	help
50734c2d4bSLiam Girdwood	  Say Y if you want to add support for SoC audio on Sharp
51734c2d4bSLiam Girdwood	  Zaurus SL-C7x0 models (Corgi, Shepherd, Husky).
52734c2d4bSLiam Girdwood
53734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC_SPITZ
54734c2d4bSLiam Girdwood	tristate "SoC Audio support for Sharp Zaurus SL-Cxx00"
5538784764SArnd Bergmann	depends on SND_PXA2XX_SOC && PXA_SHARP_Cxx00 && I2C
56734c2d4bSLiam Girdwood	select SND_PXA2XX_SOC_I2S
57734c2d4bSLiam Girdwood	select SND_SOC_WM8750
58734c2d4bSLiam Girdwood	help
59734c2d4bSLiam Girdwood	  Say Y if you want to add support for SoC audio on Sharp
60734c2d4bSLiam Girdwood	  Zaurus SL-Cxx00 models (Spitz, Borzoi and Akita).
61734c2d4bSLiam Girdwood
62d21e0f4cSMarek Vasutconfig SND_PXA2XX_SOC_Z2
63d21e0f4cSMarek Vasut	tristate "SoC Audio support for Zipit Z2"
6438784764SArnd Bergmann	depends on SND_PXA2XX_SOC && MACH_ZIPIT2 && I2C
65d21e0f4cSMarek Vasut	select SND_PXA2XX_SOC_I2S
66d21e0f4cSMarek Vasut	select SND_SOC_WM8750
67d21e0f4cSMarek Vasut	help
68d21e0f4cSMarek Vasut	  Say Y if you want to add support for SoC audio on Zipit Z2.
69d21e0f4cSMarek Vasut
70734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC_POODLE
71734c2d4bSLiam Girdwood	tristate "SoC Audio support for Poodle"
7238784764SArnd Bergmann	depends on SND_PXA2XX_SOC && MACH_POODLE && I2C
73734c2d4bSLiam Girdwood	select SND_PXA2XX_SOC_I2S
74734c2d4bSLiam Girdwood	select SND_SOC_WM8731
75734c2d4bSLiam Girdwood	help
76734c2d4bSLiam Girdwood	  Say Y if you want to add support for SoC audio on Sharp
77734c2d4bSLiam Girdwood	  Zaurus SL-5600 model (Poodle).
78734c2d4bSLiam Girdwood
79734c2d4bSLiam Girdwoodconfig SND_PXA2XX_SOC_TOSA
80734c2d4bSLiam Girdwood	tristate "SoC AC97 Audio support for Tosa"
81734c2d4bSLiam Girdwood	depends on SND_PXA2XX_SOC && MACH_TOSA
824440cbd6SDmitry Baryshkov	depends on MFD_TC6393XB
8325540f68SArnd Bergmann	depends on AC97_BUS=n
8460a26016SMark Brown	select REGMAP
8527821f4dSMark Brown	select AC97_BUS_NEW
8627821f4dSMark Brown	select AC97_BUS_COMPAT
87734c2d4bSLiam Girdwood	select SND_PXA2XX_SOC_AC97
88734c2d4bSLiam Girdwood	select SND_SOC_WM9712
89734c2d4bSLiam Girdwood	help
90734c2d4bSLiam Girdwood	  Say Y if you want to add support for SoC audio on Sharp
91734c2d4bSLiam Girdwood	  Zaurus SL-C6000x models (Tosa).
92ab40d4f1SIan Molton
9328796eafSIan Moltonconfig SND_PXA2XX_SOC_E740
9428796eafSIan Molton	tristate "SoC AC97 Audio support for e740"
9528796eafSIan Molton	depends on SND_PXA2XX_SOC && MACH_E740
9625540f68SArnd Bergmann	depends on AC97_BUS=n
9760a26016SMark Brown	select REGMAP
9827821f4dSMark Brown	select AC97_BUS_NEW
9927821f4dSMark Brown	select AC97_BUS_COMPAT
10028796eafSIan Molton	select SND_SOC_WM9705
10128796eafSIan Molton	select SND_PXA2XX_SOC_AC97
10228796eafSIan Molton	help
10328796eafSIan Molton	  Say Y if you want to add support for SoC audio on the
10428796eafSIan Molton	  toshiba e740 PDA
10528796eafSIan Molton
106a7e2e735SIan Moltonconfig SND_PXA2XX_SOC_E750
107a7e2e735SIan Molton	tristate "SoC AC97 Audio support for e750"
108a7e2e735SIan Molton	depends on SND_PXA2XX_SOC && MACH_E750
10925540f68SArnd Bergmann	depends on AC97_BUS=n
11060a26016SMark Brown	select REGMAP
111a7e2e735SIan Molton	select SND_SOC_WM9705
112a7e2e735SIan Molton	select SND_PXA2XX_SOC_AC97
113a7e2e735SIan Molton	help
114a7e2e735SIan Molton	  Say Y if you want to add support for SoC audio on the
115a7e2e735SIan Molton	  toshiba e750 PDA
116a7e2e735SIan Molton
117ab40d4f1SIan Moltonconfig SND_PXA2XX_SOC_E800
118ab40d4f1SIan Molton	tristate "SoC AC97 Audio support for e800"
119ab40d4f1SIan Molton	depends on SND_PXA2XX_SOC && MACH_E800
12025540f68SArnd Bergmann	depends on AC97_BUS=n
12160a26016SMark Brown	select REGMAP
122ab40d4f1SIan Molton	select SND_SOC_WM9712
12327821f4dSMark Brown	select AC97_BUS_NEW
12427821f4dSMark Brown	select AC97_BUS_COMPAT
125ab40d4f1SIan Molton	select SND_PXA2XX_SOC_AC97
126ab40d4f1SIan Molton	help
127ab40d4f1SIan Molton	  Say Y if you want to add support for SoC audio on the
128ab40d4f1SIan Molton	  Toshiba e800 PDA
129142054a3SMike Rapoport
130142054a3SMike Rapoportconfig SND_PXA2XX_SOC_EM_X270
131eaaa5328SMike Rapoport	tristate "SoC Audio support for CompuLab EM-x270, eXeda and CM-X300"
132640fb39eSIgor Grinberg	depends on SND_PXA2XX_SOC && (MACH_EM_X270 || MACH_EXEDA || \
133640fb39eSIgor Grinberg			MACH_CM_X300)
13425540f68SArnd Bergmann	depends on AC97_BUS=n
13560a26016SMark Brown	select REGMAP
13627821f4dSMark Brown	select AC97_BUS_NEW
13727821f4dSMark Brown	select AC97_BUS_COMPAT
138142054a3SMike Rapoport	select SND_PXA2XX_SOC_AC97
139142054a3SMike Rapoport	select SND_SOC_WM9712
140142054a3SMike Rapoport	help
141142054a3SMike Rapoport	  Say Y if you want to add support for SoC audio on
142eaaa5328SMike Rapoport	  CompuLab EM-x270, eXeda and CM-X300 machines.
1431b340bd7SMark Brown
14474e72201SMarek Vasutconfig SND_PXA2XX_SOC_PALM27X
14537330efdSMarek Vasut	bool "SoC Audio support for Palm T|X, T5, E2 and LifeDrive"
14637330efdSMarek Vasut	depends on SND_PXA2XX_SOC && (MACH_PALMLD || MACH_PALMTX || \
14737330efdSMarek Vasut			MACH_PALMT5 || MACH_PALMTE2)
14825540f68SArnd Bergmann	depends on AC97_BUS=n
14960a26016SMark Brown	select REGMAP
15027821f4dSMark Brown	select AC97_BUS_NEW
15127821f4dSMark Brown	select AC97_BUS_COMPAT
15274e72201SMarek Vasut	select SND_PXA2XX_SOC_AC97
15374e72201SMarek Vasut	select SND_SOC_WM9712
15474e72201SMarek Vasut	help
15574e72201SMarek Vasut	  Say Y if you want to add support for SoC audio on
15637330efdSMarek Vasut	  Palm T|X, T5, E2 or LifeDrive handheld computer.
15774e72201SMarek Vasut
158b883f363SQiao Zhouconfig SND_PXA910_SOC
159b883f363SQiao Zhou	tristate "SoC Audio for Marvell PXA910 chip"
160b883f363SQiao Zhou	depends on ARCH_MMP && SND
161b883f363SQiao Zhou	select SND_PCM
162b883f363SQiao Zhou	help
163b883f363SQiao Zhou	  Say Y if you want to add support for SoC audio on the
164b883f363SQiao Zhou	  Marvell PXA910 reference platform.
165b883f363SQiao Zhou
166b883f363SQiao Zhouconfig SND_SOC_TTC_DKB
1677c47cd7fSArnd Bergmann	tristate "SoC Audio support for TTC DKB"
168482b91c7SArnd Bergmann	depends on SND_PXA910_SOC && MACH_TTC_DKB && I2C=y
169b883f363SQiao Zhou	select PXA_SSP
170b883f363SQiao Zhou	select SND_PXA_SOC_SSP
171b883f363SQiao Zhou	select SND_MMP_SOC
172b883f363SQiao Zhou	select MFD_88PM860X
173b883f363SQiao Zhou	select SND_SOC_88PM860X
174b883f363SQiao Zhou	help
175b883f363SQiao Zhou	  Say Y if you want to add support for SoC audio on TTC DKB
176b883f363SQiao Zhou
177b883f363SQiao Zhou
1781b340bd7SMark Brownconfig SND_SOC_ZYLONITE
1791b340bd7SMark Brown	tristate "SoC Audio support for Marvell Zylonite"
1801b340bd7SMark Brown	depends on SND_PXA2XX_SOC && MACH_ZYLONITE
18125540f68SArnd Bergmann	depends on AC97_BUS=n
18227821f4dSMark Brown	select AC97_BUS_NEW
18327821f4dSMark Brown	select AC97_BUS_COMPAT
1841b340bd7SMark Brown	select SND_PXA2XX_SOC_AC97
18560a26016SMark Brown	select REGMAP
1861b340bd7SMark Brown	select SND_PXA_SOC_SSP
1871b340bd7SMark Brown	select SND_SOC_WM9713
1881b340bd7SMark Brown	help
1891b340bd7SMark Brown	  Say Y if you want to add support for SoC audio on the
1901b340bd7SMark Brown	  Marvell Zylonite reference platform.
1918f0dc655SRobert Jarzmik
192c26f642eSDmitry Artamonowconfig SND_PXA2XX_SOC_HX4700
193c26f642eSDmitry Artamonow	tristate "SoC Audio support for HP iPAQ hx4700"
194b971c370SAxel Lin	depends on SND_PXA2XX_SOC && MACH_H4700 && I2C
195c26f642eSDmitry Artamonow	select SND_PXA2XX_SOC_I2S
196c26f642eSDmitry Artamonow	select SND_SOC_AK4641
197c26f642eSDmitry Artamonow	help
198c26f642eSDmitry Artamonow	  Say Y if you want to add support for SoC audio on the
199c26f642eSDmitry Artamonow	  HP iPAQ hx4700.
200c26f642eSDmitry Artamonow
2017377226cSPhilipp Zabelconfig SND_PXA2XX_SOC_MAGICIAN
2027377226cSPhilipp Zabel	tristate "SoC Audio support for HTC Magician"
20338784764SArnd Bergmann	depends on SND_PXA2XX_SOC && MACH_MAGICIAN && I2C
2047377226cSPhilipp Zabel	select SND_PXA2XX_SOC_I2S
2057377226cSPhilipp Zabel	select SND_PXA_SOC_SSP
2067377226cSPhilipp Zabel	select SND_SOC_UDA1380
2077377226cSPhilipp Zabel	help
2087377226cSPhilipp Zabel	  Say Y if you want to add support for SoC audio on the
2097377226cSPhilipp Zabel	  HTC Magician.
2107377226cSPhilipp Zabel
2118f0dc655SRobert Jarzmikconfig SND_PXA2XX_SOC_MIOA701
2128f0dc655SRobert Jarzmik	tristate "SoC Audio support for MIO A701"
2138f0dc655SRobert Jarzmik	depends on SND_PXA2XX_SOC && MACH_MIOA701
21425540f68SArnd Bergmann	depends on AC97_BUS=n
21560a26016SMark Brown	select REGMAP
21627821f4dSMark Brown	select AC97_BUS_NEW
21727821f4dSMark Brown	select AC97_BUS_COMPAT
2188f0dc655SRobert Jarzmik	select SND_PXA2XX_SOC_AC97
2198f0dc655SRobert Jarzmik	select SND_SOC_WM9713
2208f0dc655SRobert Jarzmik	help
2218f0dc655SRobert Jarzmik	  Say Y if you want to add support for SoC audio on the
2228f0dc655SRobert Jarzmik	  MIO A701.
223a195b51bSJonathan Cameron
224a195b51bSJonathan Cameronconfig SND_PXA2XX_SOC_IMOTE2
225a195b51bSJonathan Cameron       tristate "SoC Audio support for IMote 2"
226c877c251STakashi Iwai       depends on SND_PXA2XX_SOC && MACH_INTELMOTE2 && I2C
227a195b51bSJonathan Cameron       select SND_PXA2XX_SOC_I2S
228a195b51bSJonathan Cameron       select SND_SOC_WM8940
229a195b51bSJonathan Cameron       help
230a195b51bSJonathan Cameron	 Say Y if you want to add support for SoC audio on the
231a195b51bSJonathan Cameron	 IMote 2.
2325ebf20aeSZhangfei Gao
2335ebf20aeSZhangfei Gaoconfig SND_MMP_SOC_BROWNSTONE
2345ebf20aeSZhangfei Gao	tristate "SoC Audio support for Marvell Brownstone"
2355229f1f4SArnd Bergmann	depends on SND_MMP_SOC && MACH_BROWNSTONE && I2C
2365ebf20aeSZhangfei Gao	select SND_MMP_SOC_SSPA
2375ebf20aeSZhangfei Gao	select MFD_WM8994
2385ebf20aeSZhangfei Gao	select SND_SOC_WM8994
2395ebf20aeSZhangfei Gao	help
2405ebf20aeSZhangfei Gao	  Say Y if you want to add support for SoC audio on the
2415ebf20aeSZhangfei Gao	  Marvell Brownstone reference platform.
242