Skip to contentSkip to conversation

ASoC:Add support for cs42l73 codec

PATCH Superseded Brian Austin 2 participants 3 messages Oct 18, 2011 – Oct 19, 2011

Subsystems (3)

v4 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

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
index 4584514..22ab2fc 100644
@@ -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
index a2c7842..5e6522d 100644
@@ -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
#1 lore raw
Quoted 41 lines · Brian Austin

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 +2 -0
index 4584514..22ab2fc 100644
@@ -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

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
config SND_SOC_CS4270
tristate

I got a little ahead of myself. Sorry, I'll send v5 with ONLY CS42L73 in the configs

#2 lore raw
Quoted 34 lines · Brian
Quoted 31 lines · Brian Austin

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 +0 -0
index 4584514..22ab2fc 100644
@@ -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

sound/soc/codecs/Kconfig +0 -0
@@ -175,6 +177,16 @@ config SND_SOC_CQ0093VC

config 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
config SND_SOC_CS4270
      tristate

I 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