18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#SPI drivers
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_cimenuconfig SND_SPI
58c2ecf20Sopenharmony_ci	bool "SPI sound devices"
68c2ecf20Sopenharmony_ci	depends on SPI
78c2ecf20Sopenharmony_ci	default y
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  Support for sound devices connected via the SPI bus.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciif SND_SPI
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciconfig SND_AT73C213
148c2ecf20Sopenharmony_ci	tristate "Atmel AT73C213 DAC driver"
158c2ecf20Sopenharmony_ci	depends on ATMEL_SSC
168c2ecf20Sopenharmony_ci	select SND_PCM
178c2ecf20Sopenharmony_ci	help
188c2ecf20Sopenharmony_ci	  Say Y here if you want to use the Atmel AT73C213 external DAC. This
198c2ecf20Sopenharmony_ci	  DAC can be found on Atmel development boards.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci	  This driver requires the Atmel SSC driver for sound sink, a
228c2ecf20Sopenharmony_ci	  peripheral found on most AT91 and AVR32 microprocessors.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module will be
258c2ecf20Sopenharmony_ci	  called snd-at73c213.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig SND_AT73C213_TARGET_BITRATE
288c2ecf20Sopenharmony_ci	int "Target bitrate for AT73C213"
298c2ecf20Sopenharmony_ci	depends on SND_AT73C213
308c2ecf20Sopenharmony_ci	default "48000"
318c2ecf20Sopenharmony_ci	range 8000 50000
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  Sets the target bitrate for the bitrate calculator in the driver.
348c2ecf20Sopenharmony_ci	  Limited by hardware to be between 8000 Hz and 50000 Hz.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	  Set to 48000 Hz by default.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciendif	# SND_SPI
398c2ecf20Sopenharmony_ci
40