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