Skip to content

Commit bc1c821

Browse files
committed
ASoC: tac5xx2-sdw: add soundwire based codec driver
Add codec driver for tac5xx2 family of devices. This includes the support for 1. tac5572 - DAC, PDM, UAJ and HID 2. tas2883 - Amplifier with DSP 3. tac5672 - Similar to tac5572 with feedback 4. tac5682 - Similar to tac5672 with Amplifier DSP. Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
1 parent a3a5425 commit bc1c821

4 files changed

Lines changed: 2678 additions & 0 deletions

File tree

sound/soc/codecs/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ config SND_SOC_ALL_CODECS
264264
imply SND_SOC_STA529
265265
imply SND_SOC_STAC9766
266266
imply SND_SOC_STI_SAS
267+
imply SND_SOC_TAC5XX2_SDW
267268
imply SND_SOC_TAS2552
268269
imply SND_SOC_TAS2562
269270
imply SND_SOC_TAS2764
@@ -2130,6 +2131,16 @@ config SND_SOC_STAC9766
21302131
config SND_SOC_STI_SAS
21312132
tristate "codec Audio support for STI SAS codec"
21322133

2134+
config SND_SOC_TAC5XX2_SDW
2135+
tristate "Texas Instruments TAC5XX2 SoundWire Smart Amplifier"
2136+
depends on SOUNDWIRE
2137+
depends on SND_SOC_SDCA
2138+
help
2139+
This option enables support for Texas Instruments TAC5XX2 family
2140+
of SoundWire Smart Amplifiers. This includes TAC5572, TAC5672,
2141+
TAC568 and TAS2883. To compile this driver as a module, choose
2142+
M here: the module will be called snd-soc-tac5xx2.
2143+
21332144
config SND_SOC_TAS2552
21342145
tristate "Texas Instruments TAS2552 Mono Audio amplifier"
21352146
depends on I2C

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ snd-soc-sta350-y := sta350.o
313313
snd-soc-sta529-y := sta529.o
314314
snd-soc-stac9766-y := stac9766.o
315315
snd-soc-sti-sas-y := sti-sas.o
316+
snd-soc-tac5xx2-sdw-y := tac5xx2-sdw.o
316317
snd-soc-tas5086-y := tas5086.o
317318
snd-soc-tas571x-y := tas571x.o
318319
snd-soc-tas5720-y := tas5720.o
@@ -745,6 +746,7 @@ obj-$(CONFIG_SND_SOC_STA350) += snd-soc-sta350.o
745746
obj-$(CONFIG_SND_SOC_STA529) += snd-soc-sta529.o
746747
obj-$(CONFIG_SND_SOC_STAC9766) += snd-soc-stac9766.o
747748
obj-$(CONFIG_SND_SOC_STI_SAS) += snd-soc-sti-sas.o
749+
obj-$(CONFIG_SND_SOC_TAC5XX2_SDW) += snd-soc-tac5xx2-sdw.o
748750
obj-$(CONFIG_SND_SOC_TAS2552) += snd-soc-tas2552.o
749751
obj-$(CONFIG_SND_SOC_TAS2562) += snd-soc-tas2562.o
750752
obj-$(CONFIG_SND_SOC_TAS2764) += snd-soc-tas2764.o

0 commit comments

Comments
 (0)