config SND_LS1X_SOC
	tristate "SoC Audio for the Loongson chip"
	depends on MACH_LOONGSON32 || LOONGSON_2K1000
	select SND_MIPS
	select SND_LS1X_LIB
	help
	  Say Y or M if you want to add support for codecs attached to
	  the Loongson AC97, I2S interface. You will also need
	  to select the audio interfaces to support below.

config SND_LS1X
	tristate

config SND_LS1X_SOC_I2S
	tristate

config SND_LS1X_SOC_AC97
	tristate
	select AC97_BUS
	select SND_MIPS
	select SND_LS1X_LIB_AC97
	select SND_AC97_CODEC
	select SND_SOC_AC97_BUS

config SND_LS1X_SOC_BOARD1C
	tristate "SoC IIS Audio support for Loongson chip"
	depends on SND_LS1X_SOC && (LOONGSON1_LS1C || LOONGSON_2K1000)
	select SND_LS1X_SOC_I2S
	select SND_LS1X
	help
	  Say Y if you want to add support for SoC audio on the
	  Loongson 1A chip.

config SND_LS1X_SOC_BOARD1B
	tristate "SoC AC97 Audio support for Loongson"
	depends on SND_LS1X_SOC && (LOONGSON1_LS1A || LOONGSON1_LS1B)
	select SND_SOC_AC97_CODEC
	select SND_LS1X_SOC_AC97
	select SND_LS1X
	help
	  Say Y if you want to add support for SoC audio on the
	  ls1a/b board
