xref: /openbmc/linux/sound/soc/pxa/Kconfig (revision 2cf1c348)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_PXA2XX_SOC
3	tristate "SoC Audio for the Intel PXA2xx chip"
4	depends on ARCH_PXA || COMPILE_TEST
5	select SND_PXA2XX_LIB
6	help
7	  Say Y or M if you want to add support for codecs attached to
8	  the PXA2xx AC97, I2S or SSP interface. You will also need
9	  to select the audio interfaces to support below.
10
11config SND_MMP_SOC
12	bool
13	select MMP_SRAM
14
15config SND_PXA2XX_AC97
16	tristate
17
18config SND_PXA2XX_SOC_AC97
19	tristate
20	select AC97_BUS_NEW
21	select SND_PXA2XX_LIB
22	select SND_PXA2XX_LIB_AC97
23	select SND_SOC_AC97_BUS_NEW
24
25config SND_PXA2XX_SOC_I2S
26	select SND_PXA2XX_LIB
27	tristate
28
29config SND_PXA_SOC_SSP
30	tristate "Soc Audio via PXA2xx/PXA3xx SSP ports"
31	depends on PLAT_PXA
32	select PXA_SSP
33	select SND_PXA2XX_LIB
34
35config SND_MMP_SOC_SSPA
36	tristate "SoC Audio via MMP SSPA ports"
37	depends on ARCH_MMP
38	select SND_SOC_GENERIC_DMAENGINE_PCM
39	select SND_ARM
40	help
41	  Say Y if you want to add support for codecs attached to
42	  the MMP SSPA interface.
43
44config SND_PXA2XX_SOC_CORGI
45	tristate "SoC Audio support for Sharp Zaurus SL-C7x0"
46	depends on SND_PXA2XX_SOC && PXA_SHARP_C7xx && I2C
47	select SND_PXA2XX_SOC_I2S
48	select SND_SOC_WM8731
49	help
50	  Say Y if you want to add support for SoC audio on Sharp
51	  Zaurus SL-C7x0 models (Corgi, Shepherd, Husky).
52
53config SND_PXA2XX_SOC_SPITZ
54	tristate "SoC Audio support for Sharp Zaurus SL-Cxx00"
55	depends on SND_PXA2XX_SOC && PXA_SHARP_Cxx00 && I2C
56	select SND_PXA2XX_SOC_I2S
57	select SND_SOC_WM8750
58	help
59	  Say Y if you want to add support for SoC audio on Sharp
60	  Zaurus SL-Cxx00 models (Spitz, Borzoi and Akita).
61
62config SND_PXA2XX_SOC_Z2
63	tristate "SoC Audio support for Zipit Z2"
64	depends on SND_PXA2XX_SOC && MACH_ZIPIT2 && I2C
65	select SND_PXA2XX_SOC_I2S
66	select SND_SOC_WM8750
67	help
68	  Say Y if you want to add support for SoC audio on Zipit Z2.
69
70config SND_PXA2XX_SOC_POODLE
71	tristate "SoC Audio support for Poodle"
72	depends on SND_PXA2XX_SOC && MACH_POODLE && I2C
73	select SND_PXA2XX_SOC_I2S
74	select SND_SOC_WM8731
75	help
76	  Say Y if you want to add support for SoC audio on Sharp
77	  Zaurus SL-5600 model (Poodle).
78
79config SND_PXA2XX_SOC_TOSA
80	tristate "SoC AC97 Audio support for Tosa"
81	depends on SND_PXA2XX_SOC && MACH_TOSA
82	depends on MFD_TC6393XB
83	depends on AC97_BUS=n
84	select REGMAP
85	select AC97_BUS_NEW
86	select AC97_BUS_COMPAT
87	select SND_PXA2XX_SOC_AC97
88	select SND_SOC_WM9712
89	help
90	  Say Y if you want to add support for SoC audio on Sharp
91	  Zaurus SL-C6000x models (Tosa).
92
93config SND_PXA2XX_SOC_E740
94	tristate "SoC AC97 Audio support for e740"
95	depends on SND_PXA2XX_SOC && MACH_E740
96	depends on AC97_BUS=n
97	select REGMAP
98	select AC97_BUS_NEW
99	select AC97_BUS_COMPAT
100	select SND_SOC_WM9705
101	select SND_PXA2XX_SOC_AC97
102	help
103	  Say Y if you want to add support for SoC audio on the
104	  toshiba e740 PDA
105
106config SND_PXA2XX_SOC_E750
107	tristate "SoC AC97 Audio support for e750"
108	depends on SND_PXA2XX_SOC && MACH_E750
109	depends on AC97_BUS=n
110	select REGMAP
111	select SND_SOC_WM9705
112	select SND_PXA2XX_SOC_AC97
113	help
114	  Say Y if you want to add support for SoC audio on the
115	  toshiba e750 PDA
116
117config SND_PXA2XX_SOC_E800
118	tristate "SoC AC97 Audio support for e800"
119	depends on SND_PXA2XX_SOC && MACH_E800
120	depends on AC97_BUS=n
121	select REGMAP
122	select SND_SOC_WM9712
123	select AC97_BUS_NEW
124	select AC97_BUS_COMPAT
125	select SND_PXA2XX_SOC_AC97
126	help
127	  Say Y if you want to add support for SoC audio on the
128	  Toshiba e800 PDA
129
130config SND_PXA2XX_SOC_EM_X270
131	tristate "SoC Audio support for CompuLab CM-X300"
132	depends on SND_PXA2XX_SOC && MACH_CM_X300
133	depends on AC97_BUS=n
134	select REGMAP
135	select AC97_BUS_NEW
136	select AC97_BUS_COMPAT
137	select SND_PXA2XX_SOC_AC97
138	select SND_SOC_WM9712
139	help
140	  Say Y if you want to add support for SoC audio on
141	  CompuLab EM-x270, eXeda and CM-X300 machines.
142
143config SND_PXA2XX_SOC_PALM27X
144	bool "SoC Audio support for Palm T|X, T5, E2 and LifeDrive"
145	depends on SND_PXA2XX_SOC && (MACH_PALMLD || MACH_PALMTX || \
146			MACH_PALMT5 || MACH_PALMTE2)
147	depends on AC97_BUS=n
148	select REGMAP
149	select AC97_BUS_NEW
150	select AC97_BUS_COMPAT
151	select SND_PXA2XX_SOC_AC97
152	select SND_SOC_WM9712
153	help
154	  Say Y if you want to add support for SoC audio on
155	  Palm T|X, T5, E2 or LifeDrive handheld computer.
156
157config SND_PXA910_SOC
158	tristate "SoC Audio for Marvell PXA910 chip"
159	depends on ARCH_MMP && SND
160	select SND_PCM
161	help
162	  Say Y if you want to add support for SoC audio on the
163	  Marvell PXA910 reference platform.
164
165config SND_SOC_TTC_DKB
166	tristate "SoC Audio support for TTC DKB"
167	depends on SND_PXA910_SOC && MACH_TTC_DKB && I2C=y
168	select PXA_SSP
169	select SND_PXA_SOC_SSP
170	select SND_MMP_SOC
171	select MFD_88PM860X
172	select SND_SOC_88PM860X
173	help
174	  Say Y if you want to add support for SoC audio on TTC DKB
175
176
177config SND_SOC_ZYLONITE
178	tristate "SoC Audio support for Marvell Zylonite"
179	depends on SND_PXA2XX_SOC && MACH_ZYLONITE
180	depends on AC97_BUS=n
181	select AC97_BUS_NEW
182	select AC97_BUS_COMPAT
183	select SND_PXA2XX_SOC_AC97
184	select REGMAP
185	select SND_PXA_SOC_SSP
186	select SND_SOC_WM9713
187	help
188	  Say Y if you want to add support for SoC audio on the
189	  Marvell Zylonite reference platform.
190
191config SND_PXA2XX_SOC_HX4700
192	tristate "SoC Audio support for HP iPAQ hx4700"
193	depends on SND_PXA2XX_SOC && MACH_H4700 && I2C
194	select SND_PXA2XX_SOC_I2S
195	select SND_SOC_AK4641
196	help
197	  Say Y if you want to add support for SoC audio on the
198	  HP iPAQ hx4700.
199
200config SND_PXA2XX_SOC_MAGICIAN
201	tristate "SoC Audio support for HTC Magician"
202	depends on SND_PXA2XX_SOC && MACH_MAGICIAN && I2C
203	select SND_PXA2XX_SOC_I2S
204	select SND_PXA_SOC_SSP
205	select SND_SOC_UDA1380
206	help
207	  Say Y if you want to add support for SoC audio on the
208	  HTC Magician.
209
210config SND_PXA2XX_SOC_MIOA701
211	tristate "SoC Audio support for MIO A701"
212	depends on SND_PXA2XX_SOC && MACH_MIOA701
213	depends on AC97_BUS=n
214	select REGMAP
215	select AC97_BUS_NEW
216	select AC97_BUS_COMPAT
217	select SND_PXA2XX_SOC_AC97
218	select SND_SOC_WM9713
219	help
220	  Say Y if you want to add support for SoC audio on the
221	  MIO A701.
222
223config SND_PXA2XX_SOC_IMOTE2
224	tristate "SoC Audio support for IMote 2"
225	depends on SND_PXA2XX_SOC && MACH_INTELMOTE2 && I2C
226	select SND_PXA2XX_SOC_I2S
227	select SND_SOC_WM8940
228	help
229	  Say Y if you want to add support for SoC audio on the
230	  IMote 2.
231
232config SND_MMP_SOC_BROWNSTONE
233	tristate "SoC Audio support for Marvell Brownstone"
234	depends on SND_MMP_SOC_SSPA && MACH_BROWNSTONE && I2C
235	select SND_MMP_SOC
236	select MFD_WM8994
237	select SND_SOC_WM8994
238	help
239	  Say Y if you want to add support for SoC audio on the
240	  Marvell Brownstone reference platform.
241