# SPDX-License-Identifier: GPL-2.0-only
config DEVICE_MODULES_SND_SOC_MEDIATEK
	tristate

config SND_SOC_MTK_SMART_PHONE
	tristate "Mediatek Smart Phone PCM Operation"
	help
	  Mediatek PCM operation which is specific for
	  smart phone product.
	  Select Y if product is smart phone.
	  If unsure select "N".

config SND_SOC_MTK_SRAM
	tristate "Mediatek Audio SRAM Management"
	help
	  Mediatek Audio SRAM management for
	  normal mode and compact mode.
	  Select Y if you use this SRAM management.
	  If unsure select "N".

config SND_SOC_MT6853
	tristate "ASoC support for Mediatek MT6853 chip"
	depends on ARCH_MEDIATEK
	select DEVICE_MODULES_SND_SOC_MEDIATEK
	select SND_SOC_MTK_SRAM
	select SND_SOC_MTK_SMART_PHONE
	help
	  This adds ASoC driver for Mediatek MT6853 boards
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6853_MT6359P
	tristate "ASoc Audio driver for MT6853 with MT6359P codec"
	depends on SND_SOC_MT6853
	select SND_SOC_MT6359P
	help
	  This adds ASoC driver for Mediatek MT6853 boards
	  with the MT6359P codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6873
	tristate "ASoC support for Mediatek MT6873 chip"
	depends on ARCH_MEDIATEK
	select DEVICE_MODULES_SND_SOC_MEDIATEK
	select SND_SOC_MTK_SRAM
	select SND_SOC_MTK_SMART_PHONE
	help
	  This adds ASoC driver for Mediatek MT6873 boards
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6873_MT6359P
	tristate "ASoc Audio driver for MT6873 with MT6359P codec"
	depends on SND_SOC_MT6873
	select SND_SOC_MT6359P
	help
	  This adds ASoC driver for Mediatek MT6873 boards
	  with the MT6359P codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6983
	tristate "ASoC support for Mediatek MT6983 chip"
	depends on ARCH_MEDIATEK
	select DEVICE_MODULES_SND_SOC_MEDIATEK
	select SND_SOC_MTK_SRAM
	select SND_SOC_MTK_SMART_PHONE
	help
	  This adds ASoC driver for Mediatek MT6983 boards
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6983_MT6338
	tristate "ASoc Audio driver for MT6983 with MT6338 codec"
	depends on SND_SOC_MT6983
	select SND_SOC_MT6338
	help
	  This adds ASoC driver for Mediatek MT6983 boards
	  with the MT6338 codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6985
	tristate "ASoC support for Mediatek MT6985 chip"
	depends on ARCH_MEDIATEK
	select DEVICE_MODULES_SND_SOC_MEDIATEK
	select SND_SOC_MTK_SRAM
	select SND_SOC_MTK_SMART_PHONE
	help
	  This adds ASoC driver for Mediatek MT6985 boards
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6985_MT6338
	tristate "ASoc Audio driver for MT6985 with MT6338 codec"
	depends on SND_SOC_MT6985
	select SND_SOC_MT6338
	help
	  This adds ASoC driver for Mediatek MT6985 boards
	  with the MT6338 codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6886
	tristate "ASoC support for Mediatek MT6886 chip"
	depends on ARCH_MEDIATEK
	select DEVICE_MODULES_SND_SOC_MEDIATEK
	select SND_SOC_MTK_SRAM
	select SND_SOC_MTK_SMART_PHONE
	help
	  This adds ASoC driver for Mediatek MT6886 boards
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT6886_MT6368
	tristate "ASoc Audio driver for MT6886 with MT6368 codec"
	depends on SND_SOC_MT6886
	select SND_SOC_MT6368
	help
	  This adds ASoC driver for Mediatek MT6886 boards
	  with the MT6368 codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config DEVICE_MODULES_SND_SOC_MTK_BTCVSD
	tristate "ALSA BT SCO CVSD/MSBC Driver"
	help
	  This is for software BTCVSD. This enable
	  the function for transferring/receiving
	  BT encoded data to/from BT firmware.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MTK_OFFLOAD
	tristate "Audio DSP MP3/AAC offload support"
	help
	  This add compress offload driver. This enable
	  the function for offloading MP3/AAC playback
	  to audiodsp.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MTK_AUDIO_DSP
	tristate "ASoC support for Mediatek audiodsp chip"
	depends on MTK_AUDIODSP_SUPPORT
	select SND_SOC_COMPRESS
	help
	  This adds dsp driver for Mediatek boards
	  that can be used with other platforms

config MTK_ULTRASND_PROXIMITY
	tristate "MTK ultra sound proximity support"
	help
	  For ultra sound proximity kernel driver config.
	  This ultra sound proximity kernel driver
	  cooperate with SCP ultra sound driver to
	  emulate physical proximity sensor. Using
	  IPI interface to communicate with SCP side and
	  be controlled by sensor hal.


config SND_SOC_MT8188
	tristate "ASoC support for Mediatek MT8188 chip"
	select DEVICE_MODULES_SND_SOC_MEDIATEK
	help
	  This adds ASoC platform driver support for Mediatek MT8188 chip
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT8188_ADSP
	tristate "ADSP support for Mediatek MT8188 chip"
	depends on SND_SOC_MT8188 && MTK_HIFIXDSP_SUPPORT
	help
	  This adds ADSP platform driver support for Mediatek MT8188 chip
	  that can be used with other codecs.
	  Select Y if you have such device.
	  If unsure select "N".

config SND_SOC_MT8188_EVB
	tristate "ASoC Audio driver for MT8188 EVB"
	depends on SND_SOC_MT8188
	select DEVICE_MODULES_SND_SOC_HDMI_CODEC
	help
	  This adds ASoC driver for Mediatek MT8188 boards
	  with the PMIC Audio.
	  Select Y if you have such device.
	  If unsure select "N".

config MTK_SCP_AUDIO
	tristate "ASoC support for Mediatek scp audio chip"
	help
	  This adds scp audio driver for Mediatek boards
	  that can be used with other platforms
	  Select Y if you have such device.
	  If unsure select "N".

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

config SND_SOC_MT8696_EVB
	tristate "ASoC Audio driver for MT8696 EVB Board"
	depends on SND_SOC_MT8696
	help
	  This adds support for ASoC machine driver for Mediatek MT8696.
	  Select Y if you have such device.
	  If unsure select "N".
	  Ex: MT8696

config SND_SOC_MT8696_FPGA
	tristate "ASoC Audio driver for MT8696 Early Porting"
	depends on SND_SOC_MT8696
	help
	  This adds ASoC driver for Mediatek MT8696 FPGA boards
	  Select Y if you have such device.
	  If unsure select "N".
	  Ex: MT8696

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

config SND_SOC_MT8532_ACC
	tristate "Audio clock counter support for Mediatek MT8532 chip"
	depends on SND_SOC_MT8532
	help
	  This adds misc driver to support audio clock counter
	  for Mediatek MT8532 chip.
	  Select Y if you have such feature.
	  If unsure select "N".

config SND_SOC_MT8532_EVB
	tristate "ASoC Audio driver for MT8532 EVB Board"
	depends on SND_SOC_MT8532
	help
	  This adds support for ASoC machine driver for Mediatek MT8532.
	  Select Y if you have such device.
	  If unsure select "N".
	  Ex: MT8532

config SND_SOC_SCENE_DETECT_CONTROL
	bool "Scene Detect Control Support"
	default n
	help
	  This adds audio controls for Mediatek boards
	  with the scene detect feature support.
	  Select Y if you have such feature.
	  If unsure select "N".

config SND_SOC_GAPP_AUDIO_CONTROL
	bool "GAPP Audio Control Support"
	help
	  This adds audio controls for Mediatek boards
	  with the GAPP feature support.
	  Select Y if you have such feature.
	  If unsure select "N".
