Commit a9a0303d authored by Herve Codina's avatar Herve Codina Committed by Mark Brown

ASoC: codecs: Add support for the framer codec

The framer codec interacts with a framer.
It allows to use some of the framer timeslots as audio channels to
transport audio data over the framer E1/T1/J1 lines.
It also reports line carrier detection events through the ALSA jack
detection feature.
Signed-off-by: default avatarHerve Codina <herve.codina@bootlin.com>
Reviewed-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Link: https://msgid.link/r/20240123165615.250303-2-herve.codina@bootlin.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a815f93a
...@@ -114,6 +114,7 @@ config SND_SOC_ALL_CODECS ...@@ -114,6 +114,7 @@ config SND_SOC_ALL_CODECS
imply SND_SOC_ES8328_I2C imply SND_SOC_ES8328_I2C
imply SND_SOC_ES7134 imply SND_SOC_ES7134
imply SND_SOC_ES7241 imply SND_SOC_ES7241
imply SND_SOC_FRAMER
imply SND_SOC_GTM601 imply SND_SOC_GTM601
imply SND_SOC_HDAC_HDMI imply SND_SOC_HDAC_HDMI
imply SND_SOC_HDAC_HDA imply SND_SOC_HDAC_HDA
...@@ -1102,6 +1103,20 @@ config SND_SOC_ES8328_SPI ...@@ -1102,6 +1103,20 @@ config SND_SOC_ES8328_SPI
depends on SPI_MASTER depends on SPI_MASTER
select SND_SOC_ES8328 select SND_SOC_ES8328
config SND_SOC_FRAMER
tristate "Framer codec"
depends on GENERIC_FRAMER
help
Enable support for the framer codec.
The framer codec uses the generic framer infrastructure to transport
some audio data over an analog E1/T1/J1 line.
This codec allows to use some of the time slots available on the TDM
bus on which the framer is connected to transport the audio data.
To compile this driver as a module, choose M here: the module
will be called snd-soc-framer.
config SND_SOC_GTM601 config SND_SOC_GTM601
tristate 'GTM601 UMTS modem audio codec' tristate 'GTM601 UMTS modem audio codec'
......
...@@ -122,6 +122,7 @@ snd-soc-es8326-objs := es8326.o ...@@ -122,6 +122,7 @@ snd-soc-es8326-objs := es8326.o
snd-soc-es8328-objs := es8328.o snd-soc-es8328-objs := es8328.o
snd-soc-es8328-i2c-objs := es8328-i2c.o snd-soc-es8328-i2c-objs := es8328-i2c.o
snd-soc-es8328-spi-objs := es8328-spi.o snd-soc-es8328-spi-objs := es8328-spi.o
snd-soc-framer-objs := framer-codec.o
snd-soc-gtm601-objs := gtm601.o snd-soc-gtm601-objs := gtm601.o
snd-soc-hdac-hdmi-objs := hdac_hdmi.o snd-soc-hdac-hdmi-objs := hdac_hdmi.o
snd-soc-hdac-hda-objs := hdac_hda.o snd-soc-hdac-hda-objs := hdac_hda.o
...@@ -514,6 +515,7 @@ obj-$(CONFIG_SND_SOC_ES8326) += snd-soc-es8326.o ...@@ -514,6 +515,7 @@ obj-$(CONFIG_SND_SOC_ES8326) += snd-soc-es8326.o
obj-$(CONFIG_SND_SOC_ES8328) += snd-soc-es8328.o obj-$(CONFIG_SND_SOC_ES8328) += snd-soc-es8328.o
obj-$(CONFIG_SND_SOC_ES8328_I2C)+= snd-soc-es8328-i2c.o obj-$(CONFIG_SND_SOC_ES8328_I2C)+= snd-soc-es8328-i2c.o
obj-$(CONFIG_SND_SOC_ES8328_SPI)+= snd-soc-es8328-spi.o obj-$(CONFIG_SND_SOC_ES8328_SPI)+= snd-soc-es8328-spi.o
obj-$(CONFIG_SND_SOC_FRAMER) += snd-soc-framer.o
obj-$(CONFIG_SND_SOC_GTM601) += snd-soc-gtm601.o obj-$(CONFIG_SND_SOC_GTM601) += snd-soc-gtm601.o
obj-$(CONFIG_SND_SOC_HDAC_HDMI) += snd-soc-hdac-hdmi.o obj-$(CONFIG_SND_SOC_HDAC_HDMI) += snd-soc-hdac-hdmi.o
obj-$(CONFIG_SND_SOC_HDAC_HDA) += snd-soc-hdac-hda.o obj-$(CONFIG_SND_SOC_HDAC_HDA) += snd-soc-hdac-hda.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment