developer | 77beb69 | 2023-06-08 11:08:46 +0800 | [diff] [blame] | 1 | From 593cfdef7ef160c49db5c7ae315cb963f32a947a Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:08 +0800 |
| 4 | Subject: [PATCH] [slow-speed-io][999-2152-sound-add-mt7986-driver.patch] |
| 5 | |
| 6 | --- |
| 7 | sound/soc/mediatek/Kconfig | 30 ++++++++++++++++++++++++++++++ |
| 8 | sound/soc/mediatek/Makefile | 1 + |
| 9 | 2 files changed, 31 insertions(+) |
| 10 | |
| 11 | diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig |
| 12 | index 111e44b64..25e392428 100644 |
developer | bf2a380 | 2022-06-01 10:56:51 +0800 | [diff] [blame] | 13 | --- a/sound/soc/mediatek/Kconfig |
| 14 | +++ b/sound/soc/mediatek/Kconfig |
developer | 77beb69 | 2023-06-08 11:08:46 +0800 | [diff] [blame] | 15 | @@ -53,6 +53,36 @@ config SND_SOC_MT6797_MT6351 |
developer | bf2a380 | 2022-06-01 10:56:51 +0800 | [diff] [blame] | 16 | Select Y if you have such device. |
| 17 | If unsure select "N". |
| 18 | |
| 19 | +config SND_SOC_MT79XX |
| 20 | + tristate "ASoC support for Mediatek MT79XX chip" |
| 21 | + depends on ARCH_MEDIATEK |
| 22 | + select SND_SOC_MEDIATEK |
| 23 | + help |
| 24 | + This adds ASoC platform driver support for Mediatek MT79XX chip |
| 25 | + that can be used with other codecs. |
| 26 | + Select Y if you have such device. |
| 27 | + If unsure select "N". |
| 28 | + |
| 29 | +config SND_SOC_MT79XX_WM8960 |
| 30 | + tristate "ASoc Audio driver for MT79XX with WM8960 codec" |
| 31 | + depends on SND_SOC_MT79XX && I2C |
| 32 | + select SND_SOC_WM8960 |
| 33 | + help |
| 34 | + This adds ASoC driver for Mediatek MT79XX boards |
| 35 | + with the WM8960 codecs. |
| 36 | + Select Y if you have such device. |
| 37 | + If unsure select "N". |
| 38 | + |
| 39 | +config SND_SOC_MT79XX_SI3218X |
| 40 | + tristate "ASoc Audio driver for MT79XX with SI3218X codec" |
| 41 | + depends on SND_SOC_MT79XX && SPI |
| 42 | + select SND_SOC_SI3218X_SPI |
| 43 | + help |
| 44 | + This adds ASoC driver for Mediatek MT79XX boards |
| 45 | + with the SI3218X codecs. |
| 46 | + Select Y if you have such device. |
| 47 | + If unsure select "N". |
| 48 | + |
| 49 | config SND_SOC_MT8173 |
| 50 | tristate "ASoC support for Mediatek MT8173 chip" |
| 51 | depends on ARCH_MEDIATEK |
developer | 77beb69 | 2023-06-08 11:08:46 +0800 | [diff] [blame] | 52 | diff --git a/sound/soc/mediatek/Makefile b/sound/soc/mediatek/Makefile |
| 53 | index 76032cae6..9690326b2 100644 |
developer | bf2a380 | 2022-06-01 10:56:51 +0800 | [diff] [blame] | 54 | --- a/sound/soc/mediatek/Makefile |
| 55 | +++ b/sound/soc/mediatek/Makefile |
| 56 | @@ -2,5 +2,6 @@ |
| 57 | obj-$(CONFIG_SND_SOC_MEDIATEK) += common/ |
| 58 | obj-$(CONFIG_SND_SOC_MT2701) += mt2701/ |
| 59 | obj-$(CONFIG_SND_SOC_MT6797) += mt6797/ |
| 60 | +obj-$(CONFIG_SND_SOC_MT79XX) += mt79xx/ |
| 61 | obj-$(CONFIG_SND_SOC_MT8173) += mt8173/ |
| 62 | obj-$(CONFIG_SND_SOC_MT8183) += mt8183/ |
developer | 77beb69 | 2023-06-08 11:08:46 +0800 | [diff] [blame] | 63 | -- |
| 64 | 2.34.1 |
| 65 | |