xref: /openbmc/linux/sound/soc/pxa/Kconfig (revision d23015c1)
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 "Soc Audio for Marvell MMP chips"
13	depends on ARCH_MMP
14	select MMP_SRAM
15	select SND_SOC_GENERIC_DMAENGINE_PCM
16	select SND_ARM
17	help
18	  Say Y if you want to add support for codecs attached to
19	  the MMP SSPA interface.
20
21config SND_PXA2XX_AC97
22	tristate
23
24config SND_PXA2XX_SOC_AC97
25	tristate
26	select AC97_BUS_NEW
27	select SND_PXA2XX_LIB
28	select SND_PXA2XX_LIB_AC97
29	select SND_SOC_AC97_BUS_NEW
30
31config SND_PXA2XX_SOC_I2S
32	select SND_PXA2XX_LIB
33	tristate
34
35config SND_PXA_SOC_SSP
36	tristate "Soc Audio via PXA2xx/PXA3xx SSP ports"
37	depends on PLAT_PXA
38	select PXA_SSP
39	select SND_PXA2XX_LIB
40
41config SND_MMP_SOC_SSPA
42	tristate
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 SND_PXA2XX_SOC_AC97
85	select SND_SOC_WM9712
86	help
87	  Say Y if you want to add support for SoC audio on Sharp
88	  Zaurus SL-C6000x models (Tosa).
89
90config SND_PXA2XX_SOC_E740
91	tristate "SoC AC97 Audio support for e740"
92	depends on SND_PXA2XX_SOC && MACH_E740
93	depends on AC97_BUS=n
94	select SND_SOC_WM9705
95	select SND_PXA2XX_SOC_AC97
96	help
97	  Say Y if you want to add support for SoC audio on the
98	  toshiba e740 PDA
99
100config SND_PXA2XX_SOC_E750
101	tristate "SoC AC97 Audio support for e750"
102	depends on SND_PXA2XX_SOC && MACH_E750
103	depends on AC97_BUS=n
104	select SND_SOC_WM9705
105	select SND_PXA2XX_SOC_AC97
106	help
107	  Say Y if you want to add support for SoC audio on the
108	  toshiba e750 PDA
109
110config SND_PXA2XX_SOC_E800
111	tristate "SoC AC97 Audio support for e800"
112	depends on SND_PXA2XX_SOC && MACH_E800
113	depends on AC97_BUS=n
114	select SND_SOC_WM9712
115	select SND_PXA2XX_SOC_AC97
116	help
117	  Say Y if you want to add support for SoC audio on the
118	  Toshiba e800 PDA
119
120config SND_PXA2XX_SOC_EM_X270
121	tristate "SoC Audio support for CompuLab EM-x270, eXeda and CM-X300"
122	depends on SND_PXA2XX_SOC && (MACH_EM_X270 || MACH_EXEDA || \
123			MACH_CM_X300)
124	depends on AC97_BUS=n
125	select SND_PXA2XX_SOC_AC97
126	select SND_SOC_WM9712
127	help
128	  Say Y if you want to add support for SoC audio on
129	  CompuLab EM-x270, eXeda and CM-X300 machines.
130
131config SND_PXA2XX_SOC_PALM27X
132	bool "SoC Audio support for Palm T|X, T5, E2 and LifeDrive"
133	depends on SND_PXA2XX_SOC && (MACH_PALMLD || MACH_PALMTX || \
134			MACH_PALMT5 || MACH_PALMTE2)
135	depends on AC97_BUS=n
136	select SND_PXA2XX_SOC_AC97
137	select SND_SOC_WM9712
138	help
139	  Say Y if you want to add support for SoC audio on
140	  Palm T|X, T5, E2 or LifeDrive handheld computer.
141
142config SND_PXA910_SOC
143	tristate "SoC Audio for Marvell PXA910 chip"
144	depends on ARCH_MMP && SND
145	select SND_PCM
146	help
147	  Say Y if you want to add support for SoC audio on the
148	  Marvell PXA910 reference platform.
149
150config SND_SOC_TTC_DKB
151	tristate "SoC Audio support for TTC DKB"
152	depends on SND_PXA910_SOC && MACH_TTC_DKB && I2C=y
153	select PXA_SSP
154	select SND_PXA_SOC_SSP
155	select SND_MMP_SOC
156	select MFD_88PM860X
157	select SND_SOC_88PM860X
158	help
159	  Say Y if you want to add support for SoC audio on TTC DKB
160
161
162config SND_SOC_ZYLONITE
163	tristate "SoC Audio support for Marvell Zylonite"
164	depends on SND_PXA2XX_SOC && MACH_ZYLONITE
165	depends on AC97_BUS=n
166	select SND_PXA2XX_SOC_AC97
167	select SND_PXA_SOC_SSP
168	select SND_SOC_WM9713
169	help
170	  Say Y if you want to add support for SoC audio on the
171	  Marvell Zylonite reference platform.
172
173config SND_PXA2XX_SOC_HX4700
174	tristate "SoC Audio support for HP iPAQ hx4700"
175	depends on SND_PXA2XX_SOC && MACH_H4700 && I2C
176	select SND_PXA2XX_SOC_I2S
177	select SND_SOC_AK4641
178	help
179	  Say Y if you want to add support for SoC audio on the
180	  HP iPAQ hx4700.
181
182config SND_PXA2XX_SOC_MAGICIAN
183	tristate "SoC Audio support for HTC Magician"
184	depends on SND_PXA2XX_SOC && MACH_MAGICIAN && I2C
185	select SND_PXA2XX_SOC_I2S
186	select SND_PXA_SOC_SSP
187	select SND_SOC_UDA1380
188	help
189	  Say Y if you want to add support for SoC audio on the
190	  HTC Magician.
191
192config SND_PXA2XX_SOC_MIOA701
193	tristate "SoC Audio support for MIO A701"
194	depends on SND_PXA2XX_SOC && MACH_MIOA701
195	depends on AC97_BUS=n
196	select SND_PXA2XX_SOC_AC97
197	select SND_SOC_WM9713
198	help
199	  Say Y if you want to add support for SoC audio on the
200	  MIO A701.
201
202config SND_PXA2XX_SOC_IMOTE2
203       tristate "SoC Audio support for IMote 2"
204       depends on SND_PXA2XX_SOC && MACH_INTELMOTE2 && I2C
205       select SND_PXA2XX_SOC_I2S
206       select SND_SOC_WM8940
207       help
208	 Say Y if you want to add support for SoC audio on the
209	 IMote 2.
210
211config SND_MMP_SOC_BROWNSTONE
212	tristate "SoC Audio support for Marvell Brownstone"
213	depends on SND_MMP_SOC && MACH_BROWNSTONE && I2C
214	select SND_MMP_SOC_SSPA
215	select MFD_WM8994
216	select SND_SOC_WM8994
217	help
218	  Say Y if you want to add support for SoC audio on the
219	  Marvell Brownstone reference platform.
220