Skip to content

Commit 6bb1b70

Browse files
Shenghao-Dingbroonie
authored andcommitted
ASoc: PCM6240: Add compile item for PCM6240 Family driver
PCM6240 driver implements a flexible and configurable setting for register and filter coefficients, to one, two or even multiple PCM6240 Family Audio chips. Signed-off-by: Shenghao Ding <shenghao-ding@ti.com> Link: https://lore.kernel.org/r/20240407091846.1299-4-shenghao-ding@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d537f7b commit 6bb1b70

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

sound/soc/codecs/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ config SND_SOC_ALL_CODECS
179179
imply SND_SOC_PCM5102A
180180
imply SND_SOC_PCM512x_I2C
181181
imply SND_SOC_PCM512x_SPI
182+
imply SND_SOC_PCM6240
182183
imply SND_SOC_PEB2466
183184
imply SND_SOC_RK3308
184185
imply SND_SOC_RK3328
@@ -1424,6 +1425,15 @@ config SND_SOC_PCM512x_SPI
14241425
select SND_SOC_PCM512x
14251426
select REGMAP_SPI
14261427

1428+
config SND_SOC_PCM6240
1429+
tristate "Texas Instruments PCM6240 Family Audio chips based on I2C"
1430+
depends on I2C
1431+
help
1432+
Enable support for Texas Instruments PCM6240 Family Audio chips.
1433+
Note the PCM6240 driver implements a flexible and configurable
1434+
setting for register and filter coefficients, to one, two or
1435+
even multiple PCM6240 Family Audio chips.
1436+
14271437
config SND_SOC_PEB2466
14281438
tristate "Infineon PEB2466 quad PCM codec"
14291439
depends on SPI

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ snd-soc-pcm5102a-objs := pcm5102a.o
204204
snd-soc-pcm512x-objs := pcm512x.o
205205
snd-soc-pcm512x-i2c-objs := pcm512x-i2c.o
206206
snd-soc-pcm512x-spi-objs := pcm512x-spi.o
207+
snd-soc-pcm6240-objs := pcm6240.o
207208
snd-soc-peb2466-objs := peb2466.o
208209
snd-soc-rk3308-objs := rk3308_codec.o
209210
snd-soc-rk3328-objs := rk3328_codec.o
@@ -595,6 +596,7 @@ obj-$(CONFIG_SND_SOC_PCM5102A) += snd-soc-pcm5102a.o
595596
obj-$(CONFIG_SND_SOC_PCM512x) += snd-soc-pcm512x.o
596597
obj-$(CONFIG_SND_SOC_PCM512x_I2C) += snd-soc-pcm512x-i2c.o
597598
obj-$(CONFIG_SND_SOC_PCM512x_SPI) += snd-soc-pcm512x-spi.o
599+
obj-$(CONFIG_SND_SOC_PCM6240) += snd-soc-pcm6240.o
598600
obj-$(CONFIG_SND_SOC_PEB2466) += snd-soc-peb2466.o
599601
obj-$(CONFIG_SND_SOC_RK3308) += snd-soc-rk3308.o
600602
obj-$(CONFIG_SND_SOC_RK3328) += snd-soc-rk3328.o

0 commit comments

Comments
 (0)