ASoC:Add support for cs42l73 codec
Subsystems (3)
PATCH v4 1/1 ASoC:Add support for cs42l73 codec
This patch adds support for Cirrus Logic CS42L73
low power stereo codec.
--- sound/soc/codecs/Kconfig | 12 + sound/soc/codecs/Makefile | 4 + sound/soc/codecs/cs42l73.c | 1070 ++++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/cs42l73.h | 227 ++++++++++ 4 files changed, 1313 insertions(+), 0 deletions(-) create mode 100644 sound/soc/codecs/cs42l73.c create mode 100644 sound/soc/codecs/cs42l73.h
sound/soc/codecs/Kconfig +12 -0
@@ -28,6 +28,8 @@ config SND_SOC_ALL_CODECS select SND_SOC_ALC5623 if I2C select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC select SND_SOC_CS42L51 if I2C + select SND_SOC_CS42L52 if I2C + select SND_SOC_CS42L73 if I2C select SND_SOC_CS4270 if I2C select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI select SND_SOC_CX20442
@@ -175,6 +177,16 @@ config SND_SOC_CQ0093VC config SND_SOC_CS42L51 tristate +config SND_SOC_CS42L52 + tristate + +config SND_SOC_CS42L73 + tristate + +config SND_SOC_CS42L73_MIC2SDET + bool + depends on SND_SOC_CS42L73 + # Cirrus Logic CS4270 Codec config SND_SOC_CS4270 tristate
sound/soc/codecs/Makefile +4 -0
@@ -15,6 +15,8 @@ snd-soc-ak4642-objs := ak4642.o snd-soc-ak4671-objs := ak4671.o snd-soc-cq93vc-objs := cq93vc.o snd-soc-cs42l51-objs := cs42l51.o +snd-soc-cs42l52-objs := cs42l52.o +snd-soc-cs42l73-objs := cs42l73.o snd-soc-cs4270-objs := cs4270.o snd-soc-cs4271-objs := cs4271.o snd-soc-cx20442-objs := cx20442.o
@@ -115,6 +117,8 @@ obj-$(CONFIG_SND_SOC_AK4671) += snd-soc-ak4671.o obj-$(CONFIG_SND_SOC_ALC5623) += snd-soc-alc5623.o obj-$(CONFIG_SND_SOC_CQ0093VC) += snd-soc-cq93vc.o obj-$(CONFIG_SND_SOC_CS42L51) += snd-soc-cs42l51.o +obj-$(CONFIG_SND_SOC_CS42L52) += snd-soc-cs42l52.o +obj-$(CONFIG_SND_SOC_CS42L73) += snd-soc-cs42l73.o obj-$(CONFIG_SND_SOC_CS4270) += snd-soc-cs4270.o obj-$(CONFIG_SND_SOC_CS4271) += snd-soc-cs4271.o obj-$(CONFIG_SND_SOC_CX20442) += snd-soc-cx20442.o
sound/soc/codecs/cs42l73.c new file +1070 -0
1,070 lines not on this page · raw message
sound/soc/codecs/cs42l73.h new file +227 -0
227 lines not on this page · raw message
Signature · 1 line
1.7.6.3
Quoted 41 lines · Brian Austin
Signed-off-by Brian Austin <[email protected]>Signed-off-by Georgi Vlaev <[email protected]>This patch adds support for Cirrus Logic CS42L73
low power stereo codec.
---sound/soc/codecs/Kconfig | 12 + sound/soc/codecs/Makefile | 4 + sound/soc/codecs/cs42l73.c | 1070 ++++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/cs42l73.h | 227 ++++++++++ 4 files changed, 1313 insertions(+), 0 deletions(-)create mode 100644
sound/soc/codecs/cs42l73.c
create mode 100644sound/soc/codecs/cs42l73.hsound/soc/codecs/Kconfig +2
-0@@ -28,6 +28,8 @@ config SND_SOC_ALL_CODECS select SND_SOC_ALC5623 if I2C select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC select SND_SOC_CS42L51 if I2C + select SND_SOC_CS42L52 if I2C + select SND_SOC_CS42L73 if I2C select SND_SOC_CS4270 if I2C select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI select SND_SOC_CX20442@@ -175,6 +177,16 @@ config SND_SOC_CQ0093VCconfig
SND_SOC_CS42L51
tristatesound/soc/codecs/Kconfig +10
-0+config SND_SOC_CS42L52 + tristate + +config SND_SOC_CS42L73 + tristate + +config SND_SOC_CS42L73_MIC2SDET + bool + depends on SND_SOC_CS42L73 +
Quoted 3 lines
# Cirrus Logic CS4270 Codec
configSND_SOC_CS4270
tristate
I got a little ahead of myself. Sorry, I'll send v5 with ONLY CS42L73 in the configs
Quoted 34 lines · Brian
Quoted 31 lines · Brian Austin
Signed-off-by Brian Austin <[email protected]>Signed-off-by Georgi Vlaev <[email protected]>This patch adds support for Cirrus Logic CS42L73
low power stereo codec.
---sound/soc/codecs/Kconfig| 12 +sound/soc/codecs/Makefile| 4 +sound/soc/codecs/cs42l73.c| 1070 ++++++++++++++++++++++++++++++++++++++++++++sound/soc/codecs/cs42l73.h| 227 ++++++++++4 files changed, 1313 insertions(+), 0 deletions(-)create mode 100644
sound/soc/codecs/cs42l73.c
create mode 100644sound/soc/codecs/cs42l73.hsound/soc/codecs/Kconfig +0
-0@@ -28,6 +28,8 @@ config SND_SOC_ALL_CODECSselect
SND_SOC_ALC5623if I2C
selectSND_SOC_CQ0093VCifMFD_DAVINCI_VOICECODECselectSND_SOC_CS42L51if I2C
+ selectSND_SOC_CS42L52if I2C
+ selectSND_SOC_CS42L73if I2C
selectSND_SOC_CS4270if I2C
selectSND_SOC_CS4271ifSND_SOC_I2C_AND_SPIselectSND_SOC_CX20442sound/soc/codecs/Kconfig +0
-0@@ -175,6 +177,16 @@ config SND_SOC_CQ0093VCconfig
SND_SOC_CS42L51
tristate
Quoted 15 lines
Quoted 10 lines
sound/soc/codecs/Kconfig +10
-0+config SND_SOC_CS42L52 + tristate + +config SND_SOC_CS42L73 + tristate + +config SND_SOC_CS42L73_MIC2SDET + bool + depends on SND_SOC_CS42L73 +Quoted 3 lines
# Cirrus Logic CS4270 Codec
configSND_SOC_CS4270
tristateI got a little ahead of myself. Sorry, I'll send v5 with ONLY CS42L73 in the configs
Yeah, I was about to ask about that ;)
Had a quick look and it seems OK without the CS42L52 stuff.
Liam
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel