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