^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) config SND_SOC_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config SND_SOC_MT2701
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "ASoC support for Mediatek MT2701 chip"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) depends on ARCH_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select SND_SOC_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) This adds ASoC driver for Mediatek MT2701 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) that can be used with other codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) config SND_SOC_MT2701_CS42448
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) tristate "ASoc Audio driver for MT2701 with CS42448 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on SND_SOC_MT2701 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select SND_SOC_CS42XX8_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select SND_SOC_BT_SCO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) This adds ASoC driver for Mediatek MT2701 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) with the CS42448 codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config SND_SOC_MT2701_WM8960
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) tristate "ASoc Audio driver for MT2701 with WM8960 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) depends on SND_SOC_MT2701 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select SND_SOC_WM8960
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) This adds ASoC driver for Mediatek MT2701 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) with the WM8960 codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) config SND_SOC_MT6797
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) tristate "ASoC support for Mediatek MT6797 chip"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) depends on ARCH_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) select SND_SOC_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) This adds ASoC driver for Mediatek MT6797 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) that can be used with other codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) config SND_SOC_MT6797_MT6351
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) tristate "ASoc Audio driver for MT6797 with MT6351 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) select SND_SOC_MT6351
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) This adds ASoC driver for Mediatek MT6797 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) with the MT6351 codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) config SND_SOC_MT8173
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) tristate "ASoC support for Mediatek MT8173 chip"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) depends on ARCH_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) select SND_SOC_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) This adds ASoC platform driver support for Mediatek MT8173 chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) that can be used with other codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Ex: MT8173
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) config SND_SOC_MT8173_MAX98090
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) depends on SND_SOC_MT8173 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) select SND_SOC_MAX98090
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) This adds ASoC driver for Mediatek MT8173 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) with the MAX98090 audio codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) config SND_SOC_MT8173_RT5650
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) tristate "ASoC Audio driver for MT8173 with RT5650 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) depends on SND_SOC_MT8173 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) select SND_SOC_RT5645
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) select SND_SOC_HDMI_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) This adds ASoC driver for Mediatek MT8173 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) with the RT5650 audio codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) config SND_SOC_MT8173_RT5650_RT5514
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) depends on SND_SOC_MT8173 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) select SND_SOC_RT5645
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) select SND_SOC_RT5514
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) This adds ASoC driver for Mediatek MT8173 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) with the RT5650 and RT5514 codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) config SND_SOC_MT8173_RT5650_RT5676
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) depends on SND_SOC_MT8173 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) select SND_SOC_RT5645
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) select SND_SOC_RT5677
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) select SND_SOC_HDMI_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) This adds ASoC driver for Mediatek MT8173 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) with the RT5650 and RT5676 codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) config SND_SOC_MT8183
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) tristate "ASoC support for Mediatek MT8183 chip"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) depends on ARCH_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) select SND_SOC_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) This adds ASoC platform driver support for Mediatek MT8183 chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) that can be used with other codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) depends on I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) depends on SND_SOC_MT8183
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) select SND_SOC_MT6358
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) select SND_SOC_MAX98357A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) select SND_SOC_RT1015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) select SND_SOC_BT_SCO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) select SND_SOC_TS3A227E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) select SND_SOC_CROS_EC_CODEC if CROS_EC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) select SND_SOC_HDMI_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) This adds ASoC driver for Mediatek MT8183 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) config SND_SOC_MT8183_DA7219_MAX98357A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) depends on SND_SOC_MT8183 && I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) select SND_SOC_MT6358
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) select SND_SOC_MAX98357A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) select SND_SOC_RT1015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) select SND_SOC_RT1015P
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) select SND_SOC_DA7219
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) select SND_SOC_BT_SCO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) select SND_SOC_HDMI_CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) This adds ASoC driver for Mediatek MT8183 boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) with the DA7219 MAX98357A RT1015 audio codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) If unsure select "N".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) config SND_SOC_MTK_BTCVSD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) tristate "ALSA BT SCO CVSD/MSBC Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) This is for software BTCVSD. This enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) the function for transferring/receiving
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) BT encoded data to/from BT firmware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) Select Y if you have such device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) If unsure select "N".