# SPDX-License-Identifier: GPL-2.0-only
config SND_BAIKAL_I2S
	tristate "Baikal SoC I2S Device Driver"
	depends on HAVE_CLK
	select SND_SOC_GENERIC_DMAENGINE_PCM
	select SND_SIMPLE_CARD_UTILS if ACPI
	help
	 Say Y or M if you want to add support for I2S driver for
	 Baikal SoC I2S device. The device supports up to
	 a maximum of 8 channels each for play and record.

config SND_BAIKAL_PIO_PCM
	bool "PCM PIO extension for Baikal SoC I2S driver"
	depends on SND_BAIKAL_I2S
	help
	 Say Y or N if you want to add a custom ALSA extension that registers
	 a PCM and uses PIO to transfer data.

	 This functionality is specially suited for I2S devices that don't have
	 DMA support.


config SND_BAIKAL_ANGARA
	tristate "Angara board sound driver (MAX98091)"
	depends on SND_BAIKAL_I2S
	select SND_SOC_MAX98090
	help
	 Say Y or M to enable the machine driver for the Angara board
	 with MAX98091 audio codec. Adds support for GPIO-based jack
	 detection of headphones, line-out and microphones.
