blob: 4e75eeb135420ba5dbdaf166d81e6bb03f2e66ec [file] [log] [blame]
config SND_SOC_MEDIATEK
tristate
config SND_SOC_MTK_SRAM
tristate
config SND_SOC_MTK_SMART_PHONE
tristate
config SND_SOC_MT2701
tristate "ASoC support for Mediatek MT2701 chip"
depends on ARCH_MEDIATEK
select SND_SOC_MEDIATEK
help
This adds ASoC driver for Mediatek MT2701 boards
that can be used with other codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT2701_CS42448
tristate "ASoc Audio driver for MT2701 with CS42448 codec"
depends on SND_SOC_MT2701 && I2C
select SND_SOC_CS42XX8_I2C
select SND_SOC_BT_SCO
help
This adds ASoC driver for Mediatek MT2701 boards
with the CS42448 codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT2701_WM8960
tristate "ASoc Audio driver for MT2701 with WM8960 codec"
depends on SND_SOC_MT2701 && I2C
select SND_SOC_WM8960
help
This adds ASoC driver for Mediatek MT2701 boards
with the WM8960 codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT2731
tristate "ASoC support for Mediatek MT6785 chip"
select REGMAP_MMIO
select SND_SOC_MEDIATEK
select SND_SOC_MTK_SRAM
select SND_SOC_MTK_SMART_PHONE
help
This adds ASoC driver for Mediatek MT2731 boards
that can be used with other codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT2731_MT6356
tristate "ASoc Audio driver for MT2731 with MT6389 codec"
select SND_SOC_MT2731
select SND_SOC_MT6356
help
This adds ASoC driver for Mediatek MT2731 boards
with the MT6389 codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT2731_MT6389
tristate "ASoc Audio driver for MT2731 with MT6389 codec"
select SND_SOC_MT2731
select SND_SOC_MT6389
help
This adds ASoC driver for Mediatek MT2731 boards
with the MT6389 codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT8173
tristate "ASoC support for Mediatek MT8173 chip"
depends on ARCH_MEDIATEK
select SND_SOC_MEDIATEK
help
This adds ASoC platform driver support for Mediatek MT8173 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_MT8173 && 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
tristate "ASoC Audio driver for MT8173 with RT5650 codec"
depends on SND_SOC_MT8173 && I2C
select SND_SOC_RT5645
select SND_SOC_HDMI_CODEC
help
This adds ASoC driver for Mediatek MT8173 boards
with the RT5650 audio codec.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT8173_RT5650_RT5514
tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
depends on SND_SOC_MT8173 && I2C
select SND_SOC_RT5645
select SND_SOC_RT5514
help
This adds ASoC driver for Mediatek MT8173 boards
with the RT5650 and RT5514 codecs.
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_MT8173 && I2C
select SND_SOC_RT5645
select SND_SOC_RT5677
select SND_SOC_HDMI_CODEC
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 SND_SOC_MT8183
tristate "ASoC support for Mediatek MT8183 chip"
depends on ARCH_MEDIATEK
select SND_SOC_MEDIATEK
help
This adds ASoC driver for Mediatek MT8183 boards
that can be used with other codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT8183_MT6358
tristate "ASoC Audio driver for MT8183 with MT6358 codec"
depends on SND_SOC_MT8183 && MTK_PMIC_WRAP
select SND_SOC_MT6358
help
This adds ASoC driver for Mediatek MT8183 boards
with the MT6358 codecs.
Select Y if you have such device.
If unsure select "N".
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.
Say "mt6355" if you have mt6355 audio codec.
Say "mt6356" if you have mt6356 audio codec.
config SND_SOC_MTK_BTCVSD
bool "MTK BT CVSD ALSA ARICHITECTURE"
default n
help
If you say Y, enable SND_SOC_MTK_BTCVSD.
This is for software BTCVSD. This enable
the function for transferring/receiving
BT encoded data to/from BT firmware.
config BT_AUDIO_PCM
bool "MTK BT AUDIO PCM INTERFACE"
default n
help
If you say Y, enable CONFIG_BT_AUDIO_PCM.
This is for audio pcm connect to BT. This enable
the function for transferring/receiving
BT via pcm interface.
config MTK_SND_SOC_NEW_ARCH
bool "Support new audio architecture"
select REGMAP_MMIO
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.