162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#SPI drivers
362306a36Sopenharmony_ci
462306a36Sopenharmony_cimenuconfig SND_SPI
562306a36Sopenharmony_ci	bool "SPI sound devices"
662306a36Sopenharmony_ci	depends on SPI
762306a36Sopenharmony_ci	default y
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  Support for sound devices connected via the SPI bus.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciif SND_SPI
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciconfig SND_AT73C213
1462306a36Sopenharmony_ci	tristate "Atmel AT73C213 DAC driver"
1562306a36Sopenharmony_ci	depends on ATMEL_SSC
1662306a36Sopenharmony_ci	select SND_PCM
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  Say Y here if you want to use the Atmel AT73C213 external DAC. This
1962306a36Sopenharmony_ci	  DAC can be found on Atmel development boards.
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  This driver requires the Atmel SSC driver for sound sink, a
2262306a36Sopenharmony_ci	  peripheral found on most AT91 microprocessors.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module will be
2562306a36Sopenharmony_ci	  called snd-at73c213.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig SND_AT73C213_TARGET_BITRATE
2862306a36Sopenharmony_ci	int "Target bitrate for AT73C213"
2962306a36Sopenharmony_ci	depends on SND_AT73C213
3062306a36Sopenharmony_ci	default "48000"
3162306a36Sopenharmony_ci	range 8000 50000
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Sets the target bitrate for the bitrate calculator in the driver.
3462306a36Sopenharmony_ci	  Limited by hardware to be between 8000 Hz and 50000 Hz.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci	  Set to 48000 Hz by default.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciendif	# SND_SPI
3962306a36Sopenharmony_ci
40