xref: /openbmc/linux/sound/spi/Kconfig (revision 0545810f)
1# SPDX-License-Identifier: GPL-2.0-only
2#SPI drivers
3
4menuconfig SND_SPI
5	bool "SPI sound devices"
6	depends on SPI
7	default y
8	help
9	  Support for sound devices connected via the SPI bus.
10
11if SND_SPI
12
13config SND_AT73C213
14	tristate "Atmel AT73C213 DAC driver"
15	depends on ATMEL_SSC
16	select SND_PCM
17	help
18	  Say Y here if you want to use the Atmel AT73C213 external DAC. This
19	  DAC can be found on Atmel development boards.
20
21	  This driver requires the Atmel SSC driver for sound sink, a
22	  peripheral found on most AT91 microprocessors.
23
24	  To compile this driver as a module, choose M here: the module will be
25	  called snd-at73c213.
26
27config SND_AT73C213_TARGET_BITRATE
28	int "Target bitrate for AT73C213"
29	depends on SND_AT73C213
30	default "48000"
31	range 8000 50000
32	help
33	  Sets the target bitrate for the bitrate calculator in the driver.
34	  Limited by hardware to be between 8000 Hz and 50000 Hz.
35
36	  Set to 48000 Hz by default.
37
38endif	# SND_SPI
39
40