xref: /linux/sound/soc/atmel/Kconfig (revision 177bf8620cf4ed290ee170a6c5966adc0924b336)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Atmel"
3	depends on HAS_IOMEM
4
5config SND_ATMEL_SOC_PDC
6	bool
7
8config SND_ATMEL_SOC_DMA
9	bool
10	select SND_SOC_GENERIC_DMAENGINE_PCM
11
12config SND_ATMEL_SOC_SSC
13	tristate
14	select SND_ATMEL_SOC_DMA
15	select SND_ATMEL_SOC_PDC
16
17config SND_ATMEL_SOC_SSC_PDC
18	tristate "SoC PCM DAI support for AT91 SSC controller using PDC"
19	depends on ATMEL_SSC
20	select SND_ATMEL_SOC_PDC
21	select SND_ATMEL_SOC_SSC
22	help
23	  Say Y or M if you want to add support for Atmel SSC interface
24	  in PDC mode configured using audio-graph-card in device-tree.
25
26config SND_ATMEL_SOC_SSC_DMA
27	tristate "SoC PCM DAI support for AT91 SSC controller using DMA"
28	depends on ATMEL_SSC
29	select SND_ATMEL_SOC_DMA
30	select SND_ATMEL_SOC_SSC
31	help
32	  Say Y or M if you want to add support for Atmel SSC interface
33	  in DMA mode configured using audio-graph-card in device-tree.
34
35config SND_AT91_SOC_SAM9G20_WM8731
36	tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
37	depends on ARCH_AT91 || COMPILE_TEST
38	depends on ATMEL_SSC && I2C
39	select SND_ATMEL_SOC_SSC_PDC
40	select SND_SOC_WM8731_I2C
41	help
42	  Say Y if you want to add support for SoC audio on WM8731-based
43	  AT91sam9g20 evaluation board.
44
45config SND_ATMEL_SOC_WM8904
46	tristate "Atmel ASoC driver for boards using WM8904 codec"
47	depends on ARCH_AT91 || COMPILE_TEST
48	depends on ATMEL_SSC && I2C
49	select SND_ATMEL_SOC_SSC_DMA
50	select SND_SOC_WM8904
51	help
52	  Say Y if you want to add support for Atmel ASoC driver for boards using
53	  WM8904 codec.
54
55config SND_AT91_SOC_SAM9X5_WM8731
56	tristate "SoC Audio support for WM8731-based at91sam9x5 board"
57	depends on ARCH_AT91 || COMPILE_TEST
58	depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
59	select SND_ATMEL_SOC_SSC_DMA
60	select SND_SOC_WM8731
61	help
62	  Say Y if you want to add support for audio SoC on an
63	  at91sam9x5 based board that is using WM8731 codec.
64
65config SND_ATMEL_SOC_CLASSD
66	tristate "Atmel ASoC driver for boards using CLASSD"
67	depends on ARCH_AT91 || COMPILE_TEST
68	select SND_SOC_GENERIC_DMAENGINE_PCM
69	select REGMAP_MMIO
70	help
71	  Say Y if you want to add support for Atmel ASoC driver for boards using
72	  CLASSD.
73
74config SND_ATMEL_SOC_PDMIC
75	tristate "Atmel ASoC driver for boards using PDMIC"
76	depends on OF && (ARCH_AT91 || COMPILE_TEST)
77	select SND_SOC_GENERIC_DMAENGINE_PCM
78	select REGMAP_MMIO
79	help
80	  Say Y if you want to add support for Atmel ASoC driver for boards using
81	  PDMIC.
82
83config SND_ATMEL_SOC_TSE850_PCM5142
84	tristate "ASoC driver for the Axentia TSE-850"
85	depends on ARCH_AT91 && OF
86	depends on ATMEL_SSC && I2C
87	select SND_ATMEL_SOC_SSC_DMA
88	select SND_SOC_PCM512x_I2C
89	help
90	  Say Y if you want to add support for the ASoC driver for the
91	  Axentia TSE-850 with a PCM5142 codec.
92
93config SND_ATMEL_SOC_I2S
94	tristate "Atmel ASoC driver for boards using I2S"
95	depends on OF && (ARCH_AT91 || COMPILE_TEST)
96	select SND_SOC_GENERIC_DMAENGINE_PCM
97	select REGMAP_MMIO
98	help
99	  Say Y or M if you want to add support for Atmel ASoc driver for boards
100	  using I2S.
101
102config SND_SOC_MIKROE_PROTO
103	tristate "Support for Mikroe-PROTO board"
104	depends on OF
105	depends on SND_SOC_I2C_AND_SPI
106	select SND_SOC_WM8731
107	help
108	  Say Y or M if you want to add support for MikroElektronika PROTO Audio
109	  Board. This board contains the WM8731 codec, which can be configured
110	  using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins.
111	  Both playback and capture are supported.
112
113config SND_MCHP_SOC_I2S_MCC
114	tristate "Microchip ASoC driver for boards using I2S MCC"
115	depends on OF && (ARCH_AT91 || COMPILE_TEST)
116	select SND_SOC_GENERIC_DMAENGINE_PCM
117	select REGMAP_MMIO
118	help
119	  Say Y or M if you want to add support for I2S Multi-Channel ASoC
120	  driver on the following Microchip platforms:
121	  - sam9x60
122	  - sama7g5
123
124	  The I2SMCC complies with the Inter-IC Sound (I2S) bus specification
125	  and supports a Time Division Multiplexed (TDM) interface with
126	  external multi-channel audio codecs.
127	  Starting with sama7g5, I2S and Left-Justified multi-channel is
128	  supported by using multiple data pins, output and input, without TDM.
129
130config SND_MCHP_SOC_SPDIFTX
131	tristate "Microchip ASoC driver for boards using S/PDIF TX"
132	depends on OF && (ARCH_AT91 || COMPILE_TEST)
133	select SND_SOC_GENERIC_DMAENGINE_PCM
134	select REGMAP_MMIO
135	help
136	  Say Y or M if you want to add support for Microchip S/PDIF TX ASoc
137	  driver on the following Microchip platforms:
138	  - sama7g5
139
140	  This S/PDIF TX driver is compliant with IEC-60958 standard and
141	  includes programmable User Data and Channel Status fields.
142
143config SND_MCHP_SOC_SPDIFRX
144	tristate "Microchip ASoC driver for boards using S/PDIF RX"
145	depends on OF && (ARCH_AT91 || COMPILE_TEST)
146	depends on COMMON_CLK
147	select SND_SOC_GENERIC_DMAENGINE_PCM
148	select REGMAP_MMIO
149	help
150	  Say Y or M if you want to add support for Microchip S/PDIF RX ASoc
151	  driver on the following Microchip platforms:
152	  - sama7g5
153
154	  This S/PDIF RX driver is compliant with IEC-60958 standard and
155	  includes programmable User Data and Channel Status fields.
156
157config SND_MCHP_SOC_PDMC
158	tristate "Microchip ASoC driver for boards using PDMC"
159	depends on OF && (ARCH_AT91 || COMPILE_TEST)
160	select SND_SOC_GENERIC_DMAENGINE_PCM
161	select REGMAP_MMIO
162	help
163	  Say Y or M if you want to add support for Microchip ASoC PDMC driver on the
164	  following Microchip platforms:
165	  - sama7g5
166
167	  The Pulse Density Microphone Controller (PDMC) interfaces up to 4 digital
168	  microphones PDM outputs. It generates a single clock line and samples 1 or
169	  2 data lines. The signal path includes an audio grade programmable
170	  decimation filter and outputs 24-bit audio words.
171
172endmenu
173