config SND_SOC_MEDIATEK
	tristate "ASoC support for Mediatek chip"
	depends on ARCH_MEDIATEK
	help
	  This adds ASoC platform driver support for Mediatek chip
	  that can be used with other codecs.
	  Select Y if you have such device.
	  Ex: MT8173

config SND_SOC_MT8173_MAX98090
	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
	depends on SND_SOC_MEDIATEK && I2C
	select SND_SOC_MAX98090
	help
	  This adds ASoC driver for Mediatek MT8173 boards
	  with the MAX98090 audio codec.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT8173_RT5650_RT5676
	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
	depends on SND_SOC_MEDIATEK && I2C
	select SND_SOC_RT5645
	select SND_SOC_RT5677
	help
	  This adds ASoC driver for Mediatek MT8173 boards
	  with the RT5650 and RT5676 codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config MT_SND_SOC_6797
	bool "MT 6797 PLATFORM AUDIO DRIVER"
	default n
	help
	  If you say Y, enable MTK 6797 audio driver.
	  Must enable this to use medatek audio driver.
	  The default value is y for MT6797.
	  It's recommended no to change this.

config SND_SOC_MT8167
	tristate

config SND_SOC_MT8167_MT6392_MACH
	tristate "ASoC Audio driver for MT8167 with internal codec"
	depends on MACH_MT8167
	select SND_SOC_MT8167
	select SND_SOC_MT8167_CODEC
	help
	  This adds support for ASoC machine driver for Mediatek MT8167
	  platforms with internal audio codec and speaker amplifier MT6392.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT8516_P1_MACH
	tristate "ASoC Audio driver for MT8516P1"
	depends on MACH_MT8167
	select SND_SOC_MT8167
	select SND_SOC_CS4382A
	select SND_SOC_MT8167_CODEC
	help
	  This adds support for ASoC machine driver for Mediatek MT8516 P1
	  platforms with internal audio codec and speaker codec CS4382A.
	  Select Y if you have such device.
	  If unsure select "N".
	  
config SND_SOC_MT8516_5751_P1_MACH
	tristate "ASoC Audio driver for MT8516P1"
	depends on MACH_MT8167
	select SND_SOC_MT8167
	select SND_SOC_MT8167_CODEC
	help
    This adds support for ASoC machine driver for Mediatek MT8516 P1
	  platforms with internal audio codec and speaker codec CS4382A.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT8516_P1_V2_MACH
	tristate "ASoC Audio driver for MT8516P1V2"
	depends on MACH_MT8167
	select SND_SOC_MT8167
	select SND_SOC_TAS5751
	select SND_SOC_MT8167_CODEC
	select SND_SOC_TLV320WN
	help
    This adds support for ASoC machine driver for Mediatek MT8516 P1V2
	  platforms with internal audio codec and speaker codec TAS5751.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT8167S_SOM_MACH
	tristate "ASoC Audio driver for MT8167SSOM"
	depends on MACH_MT8167
	select SND_SOC_MT8167
	select SND_SOC_TAS5782M
	select SND_SOC_MT8167_CODEC
	select SND_SOC_TLV320WN
	help
    This adds support for ASoC machine driver for Mediatek MT8167 SOM
	  platforms with internal audio codec and speaker codec TAS5782M.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_4_ADCS
	bool "Enable 4 ADCs"

config MTK_SND_SOC_CODEC
	string "String for Mediatek audio codec"
	help
	  Specify Mediatek audio codec.
	  It depend on the string to choose the audio codec.
	  Say "mt6351" if you have mt6351 audio codec.
	  Say "mt6337" if you have mt6337 audio codec.

config MTK_SPEAKER
	bool "MTK SPEAKER AMP"
	default n
	help
	  If you say Y, enable MTK_SPEAKER_AMP
	  If the codec has internal speaker, enable this.
	  This is a config for mediatek internal speaker amp.
	  Generally you select "N", if unsupport it.

config MTK_NXP_TFA9890
	bool "MTK NXP TFA9890 SMART PA DRIVER"
	default n
	help
	  If you say Y, enable MTK_NXP_TFA9890 driver.
	  This is 3rd party's speaker amp driver.
	  TFA9890 is one of SmartPa of NXP.
	  It is a DSP connect with I2S.

config MTK_SPKGPIO_REWORK
	bool "MTK SPEAKER GPIO REWORK"
	default n
	help
	  This is only for MTK internal phone only
	  Enable SPKGPIO REWORK check functionality
	  Will choose the correct GPIO for external AMP
	  If you say Y, enable MTK_SPKGPIO_REWORK

config MTK_HP_ANASWITCH
	bool "MTK HEADPHONE ANALOG SWITCH"
	default n
	help
	  This will enable headphone analog switch control
	  for de-pop functionality
	  Only enable this when you have headphone analog switch
	  If you say Y, enable MTK_HP_ANASWITCH

config MTK_BTCVSD_ALSA
	bool "MTK BT CVSD ALSA ARICHITECTURE"
	default n
	help
	  If you say Y, enable MTK_BTCVSD_ALSA.
	  This is for software BTCVSD. This enable
	  the function for transferring/receiving
	  BT encoded data to/from BT firmware.

config MTK_HDMI_TDM
	bool "MTK HDMI MULTI CHANNEL "
	default n
	help
	  If you say Y, enable MTK_HDMI_TDM.
	  This is for HDMI TDM function.
	  This setting help you to enable
	  HDMI multi channel function with TDM hardware.

config MTK_SND_SOC_NEW_ARCH
	bool "Support new audio architecture"
	help
	  If you say Y, enable MTK_SND_SOC_NEW_ARCH.
	  Only enable this when you use refactored audio driver architecture.
	  If new chip after mt6757, we will enable this config.
	  Audio driver refactor to common folder and platform folder.

config MTK_AUDIO_TUNNELING_SUPPORT
	bool "Audio playback through dsp"
	help
	  Only enable this when we have DSP.
	  This makes audio output pass bitstream without any post processing.
	  The decoding process is done in DSP.
	  Select Y to enable MTK_AUDIO_TUNNELING_SUPPORT for DSP playback.

