config SND_DMW_SOC
	tristate "SoC Audio for the DSPG DMW chip family"
	depends on ARCH_DMW || MACH_VERSATILE_BROADTILE
	help
	  Say Y or M if you want to add support for codecs attached to the DMW
	  TDM (I2S) interfaces. You will also need to select the audio
	  interfaces to support below.

config SND_DMW_SOC_BROADTILE_WM
	bool "DSPG Broadtile with WM8976"
	depends on MACH_VERSATILE_BROADTILE
	depends on SND_DMW_SOC
	select SND_SOC_WM8976
	help
	  Say Y if you want to add support for SoC audio on Versatile-Broadtile
	  with WM8976 AFE.

#config SND_PXA2XX_SOC_BROADTILE_DP52
#	tristate "SoC Audio support for DSPG Broadtile with DP52"
#	depends on SND_DMW_SOC && MACH_VERSATILE_BROADTILE
#	select SND_SOC_DP52
#	help
#	  Say Y if you want to add support for SoC audio on Versatile-Broadtile
#	  with DP52 AFE.


config SND_DMW_SOC_EVB96_WM8976
	bool "Support EVB96 board with WM8976 codec"
	depends on SND_DMW_SOC
	select SND_SOC_WM8976
	help
	  Say Y if you want to add support for SoC audio on EVB96
	  with WM8976 (momo input path) AFE.

config SND_DMW_SOC_BOARD_CSR8811
	bool "Support IMH3 or EVB96 board with additional BT CSR8811 codec"
	depends on SND_DMW_SOC
	select SND_SOC_CSR8811
	help
	  Say Y if you want to add support for SoC audio on EVB96 or IMH3
	  with CSR8811 Bluetooth chip (additional to Wolfson chip).

config SND_DMW_SOC_EVB96_SI3050
	bool "Support EVB96 board with SI3050 FXO chip"
	depends on SND_DMW_SOC
	select SND_SOC_SI3050
	help
	  Say Y if you want to add support for SoC audio on EVB96
	  with SI3050.
config SND_DMW_SOC_IMH3_WM8976
	bool "Support IMH3 board with WM8976 codec"
	depends on SND_DMW_SOC
	select SND_SOC_WM8976
	help
	  Say Y if you want to add support for SoC audio on IMH3
	  with WM8976 (momo input path) AFE.

config SND_DMW_SOC_IMH3_WM8978
	bool "Support IMH3 board with WM8978 codec"
	depends on SND_DMW_SOC
	select SND_SOC_WM8978_MOD
	help
	  Say Y if you want to add support for SoC audio on IMH3
	  with WM8978 (stereo input path) AFE.

config SND_DMW_SOC_GXV22XX_AIC3104
	bool "Support GXV22XX board with aic3104 codec"
	depends on SND_DMW_SOC && DMW_BOARD_GXP22XX
	select SND_SOC_TLV320AIC3X
	help
	  Say Y if you want to add support for SoC audio on gxv22xx
	  with AIC3104 (stereo input path) AFE.

config SND_DMW_SOC_GXE51XX_FXO_SI3050
	bool "Support for GXE51XX Si3050 FXO codec"
	depends on SND_DMW_SOC && (DMW_BOARD_GXE5124 || DMW_BOARD_GXE51XX )
	select SND_SOC_FXO_SI3050
	help
	  Say Y if you want to add FXO support on gxe51xx based
	  on Si3050+3019.

config SND_DMW_SOC_GXE51XX_FXS_SI32260
	bool "Support for GXE51XX Si32269 FXS codec"
	depends on SND_DMW_SOC && (DMW_BOARD_GXE5124 || DMW_BOARD_GXE51XX)
	select SND_SOC_FXS_SI32260
	help
	  Say Y if you want to add FXS support on gxe51xx based
	  on Si32260.


choice
	prompt "TDM Master/Slave"
	depends on SND_DMW_SOC
	depends on SND_SOC_WM8976 || SND_SOC_WM8978_MOD || SND_SOC_CSR8811 || SND_SOC_SI3050 || SND_DMW_SOC_GXE51XX_FXO_SI3050 || SND_DMW_SOC_GXE51XX_FXS_SI32260
	default SOC_CODEC_TDM_MASTER

config SOC_CODEC_TDM_MASTER
	bool "Codec chip is TDM Master"
	help
	  Define codec-chip as TDM master and DMW as TDM slave (preferred).

config SOC_CODEC_TDM_SLAVE
	bool "Codec chip is TDM Slave"
	help
	  Define codec-chip as TDM slave and DMW as TDM master (less accurate clocks).
endchoice

