0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #SPI drivers
0003
0004 menuconfig SND_SPI
0005 bool "SPI sound devices"
0006 depends on SPI
0007 default y
0008 help
0009 Support for sound devices connected via the SPI bus.
0010
0011 if SND_SPI
0012
0013 config SND_AT73C213
0014 tristate "Atmel AT73C213 DAC driver"
0015 depends on ATMEL_SSC
0016 select SND_PCM
0017 help
0018 Say Y here if you want to use the Atmel AT73C213 external DAC. This
0019 DAC can be found on Atmel development boards.
0020
0021 This driver requires the Atmel SSC driver for sound sink, a
0022 peripheral found on most AT91 microprocessors.
0023
0024 To compile this driver as a module, choose M here: the module will be
0025 called snd-at73c213.
0026
0027 config SND_AT73C213_TARGET_BITRATE
0028 int "Target bitrate for AT73C213"
0029 depends on SND_AT73C213
0030 default "48000"
0031 range 8000 50000
0032 help
0033 Sets the target bitrate for the bitrate calculator in the driver.
0034 Limited by hardware to be between 8000 Hz and 50000 Hz.
0035
0036 Set to 48000 Hz by default.
0037
0038 endif # SND_SPI
0039