developer | be797a3 | 2021-12-16 16:56:09 +0800 | [diff] [blame] | 1 | --- a/sound/soc/codecs/Kconfig |
| 2 | +++ b/sound/soc/codecs/Kconfig |
| 3 | @@ -164,6 +164,7 @@ |
| 4 | select SND_SOC_RT5677 if I2C && SPI_MASTER |
| 5 | select SND_SOC_RT5682 if I2C |
| 6 | select SND_SOC_SGTL5000 if I2C |
| 7 | + select SND_SOC_SI3218X_SPI |
| 8 | select SND_SOC_SI476X if MFD_SI476X_CORE |
| 9 | select SND_SOC_SIMPLE_AMPLIFIER |
| 10 | select SND_SOC_SIRF_AUDIO_CODEC |
| 11 | @@ -1484,6 +1485,14 @@ |
| 12 | config SND_SOC_NAU8825 |
| 13 | tristate |
| 14 | |
| 15 | +config SND_SOC_SI3218X |
| 16 | + tristate |
| 17 | + |
| 18 | +config SND_SOC_SI3218X_SPI |
| 19 | + tristate "Proslic SI3218X" |
| 20 | + depends on SPI |
| 21 | + select SND_SOC_SI3218X |
| 22 | + |
| 23 | config SND_SOC_TPA6130A2 |
| 24 | tristate "Texas Instruments TPA6130A2 headphone amplifier" |
| 25 | depends on I2C |
| 26 | --- a/sound/soc/codecs/Makefile |
| 27 | +++ b/sound/soc/codecs/Makefile |
| 28 | @@ -176,6 +176,7 @@ |
| 29 | snd-soc-sigmadsp-objs := sigmadsp.o |
| 30 | snd-soc-sigmadsp-i2c-objs := sigmadsp-i2c.o |
| 31 | snd-soc-sigmadsp-regmap-objs := sigmadsp-regmap.o |
| 32 | +snd-soc-si3218x-spi-objs := si3218x-spi.o |
| 33 | snd-soc-si476x-objs := si476x.o |
| 34 | snd-soc-sirf-audio-codec-objs := sirf-audio-codec.o |
| 35 | snd-soc-spdif-tx-objs := spdif_transmitter.o |
| 36 | @@ -563,3 +564,7 @@ |
| 37 | obj-$(CONFIG_SND_SOC_MAX98504) += snd-soc-max98504.o |
| 38 | obj-$(CONFIG_SND_SOC_SIMPLE_AMPLIFIER) += snd-soc-simple-amplifier.o |
| 39 | obj-$(CONFIG_SND_SOC_TPA6130A2) += snd-soc-tpa6130a2.o |
| 40 | + |
| 41 | +# Proslic si3218x |
| 42 | +obj-$(CONFIG_SND_SOC_SI3218X) += si3218x/ |
| 43 | +obj-$(CONFIG_SND_SOC_SI3218X_SPI) += snd-soc-si3218x-spi.o |
| 44 | --- a/sound/soc/mediatek/Kconfig |
| 45 | +++ b/sound/soc/mediatek/Kconfig |
| 46 | @@ -53,6 +53,36 @@ |
| 47 | Select Y if you have such device. |
| 48 | If unsure select "N". |
| 49 | |
| 50 | +config SND_SOC_MT79XX |
| 51 | + tristate "ASoC support for Mediatek MT79XX chip" |
| 52 | + depends on ARCH_MEDIATEK |
| 53 | + select SND_SOC_MEDIATEK |
| 54 | + help |
| 55 | + This adds ASoC platform driver support for Mediatek MT79XX chip |
| 56 | + that can be used with other codecs. |
| 57 | + Select Y if you have such device. |
| 58 | + If unsure select "N". |
| 59 | + |
| 60 | +config SND_SOC_MT79XX_WM8960 |
| 61 | + tristate "ASoc Audio driver for MT79XX with WM8960 codec" |
| 62 | + depends on SND_SOC_MT79XX && I2C |
| 63 | + select SND_SOC_WM8960 |
| 64 | + help |
| 65 | + This adds ASoC driver for Mediatek MT79XX boards |
| 66 | + with the WM8960 codecs. |
| 67 | + Select Y if you have such device. |
| 68 | + If unsure select "N". |
| 69 | + |
| 70 | +config SND_SOC_MT79XX_SI3218X |
| 71 | + tristate "ASoc Audio driver for MT79XX with SI3218X codec" |
| 72 | + depends on SND_SOC_MT79XX && SPI |
| 73 | + select SND_SOC_SI3218X_SPI |
| 74 | + help |
| 75 | + This adds ASoC driver for Mediatek MT79XX boards |
| 76 | + with the SI3218X codecs. |
| 77 | + Select Y if you have such device. |
| 78 | + If unsure select "N". |
| 79 | + |
| 80 | config SND_SOC_MT8173 |
| 81 | tristate "ASoC support for Mediatek MT8173 chip" |
| 82 | depends on ARCH_MEDIATEK |
| 83 | --- a/sound/soc/mediatek/Makefile |
| 84 | +++ b/sound/soc/mediatek/Makefile |
| 85 | @@ -2,5 +2,6 @@ |
| 86 | obj-$(CONFIG_SND_SOC_MEDIATEK) += common/ |
| 87 | obj-$(CONFIG_SND_SOC_MT2701) += mt2701/ |
| 88 | obj-$(CONFIG_SND_SOC_MT6797) += mt6797/ |
| 89 | +obj-$(CONFIG_SND_SOC_MT79XX) += mt79xx/ |
| 90 | obj-$(CONFIG_SND_SOC_MT8173) += mt8173/ |
| 91 | obj-$(CONFIG_SND_SOC_MT8183) += mt8183/ |