Skip to contentSkip to conversation

More ASoC updates

PATCH New Mark Brown 2 participants 5 messages Oct 3, 2008

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

The following changes since commit ddaea5119fd2efde7b3936d4ccfa34c4201be0d3:
Takashi Iwai (1):
Merge branch 'asoc-fixes' into topic/asoc

are available in the git repository at:

git://opensource.wolfsonmicro.com/linux-2.6-asoc for-tiwai

There's more to come on the TLV320AIC23 but at this point it's all cleanups and it's much easier to review incremental patches.

Arun KS (3):
ASoC: Add TLV320AIC23 codec driver
ASoC: Add support for osk5912
ASoC: Add DSP DAI format support to the OMAP McBSP driver

 sound/soc/codecs/Kconfig       |    5 +
 sound/soc/codecs/Makefile      |    2 +
 sound/soc/codecs/tlv320aic23.c |  670 ++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/tlv320aic23.h |  122 ++++++++
 sound/soc/omap/Kconfig         |    8 +
 sound/soc/omap/Makefile        |    2 +
 sound/soc/omap/omap-mcbsp.c    |    5 +
 sound/soc/omap/osk5912.c       |  232 ++++++++++++++
 8 files changed, 1046 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/codecs/tlv320aic23.c
 create mode 100644 sound/soc/codecs/tlv320aic23.h
 create mode 100644 sound/soc/omap/osk5912.c
author
#1 lore raw

PATCH 1/3 ASoC: Add TLV320AIC23 codec driver

From: Arun KS <[email protected]>

ASoC codec driver for TLV320AIC23 device

---
 sound/soc/codecs/Kconfig       |    5 +
 sound/soc/codecs/Makefile      |    2 +
 sound/soc/codecs/tlv320aic23.c |  670 ++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/tlv320aic23.h |  122 ++++++++
 4 files changed, 799 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/codecs/tlv320aic23.c
 create mode 100644 sound/soc/codecs/tlv320aic23.h
sound/soc/codecs/Kconfig +5 -0
index 0507fcf..bdead2d 100644
@@ -7,6 +7,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_AK4535
 	select SND_SOC_CS4270
 	select SND_SOC_SSM2602
+	select SND_SOC_TLV320AIC23
 	select SND_SOC_TLV320AIC26
 	select SND_SOC_TLV320AIC3X
 	select SND_SOC_UDA1380
@@ -62,6 +63,10 @@ config SND_SOC_CS4270_VD33_ERRATA
 config SND_SOC_SSM2602
 	tristate
 
+config SND_SOC_TLV320AIC23
+	tristate
+	depends on I2C
+
 config SND_SOC_TLV320AIC26
 	tristate "TI TLV320AIC26 Codec support"
 	depends on SND_SOC && SPI
sound/soc/codecs/Makefile +2 -0
index 0731844..90f0a58 100644
@@ -4,6 +4,7 @@ snd-soc-ad73311-objs := ad73311.o
 snd-soc-ak4535-objs := ak4535.o
 snd-soc-cs4270-objs := cs4270.o
 snd-soc-ssm2602-objs := ssm2602.o
+snd-soc-tlv320aic23-objs := tlv320aic23.o
 snd-soc-tlv320aic26-objs := tlv320aic26.o
 snd-soc-tlv320aic3x-objs := tlv320aic3x.o
 snd-soc-uda1380-objs := uda1380.o
@@ -25,6 +26,7 @@ obj-$(CONFIG_SND_SOC_AD73311) += snd-soc-ad73311.o
 obj-$(CONFIG_SND_SOC_AK4535)	+= snd-soc-ak4535.o
 obj-$(CONFIG_SND_SOC_CS4270)	+= snd-soc-cs4270.o
 obj-$(CONFIG_SND_SOC_SSM2602)	+= snd-soc-ssm2602.o
+obj-$(CONFIG_SND_SOC_TLV320AIC23)	+= snd-soc-tlv320aic23.o
 obj-$(CONFIG_SND_SOC_TLV320AIC26)	+= snd-soc-tlv320aic26.o
 obj-$(CONFIG_SND_SOC_TLV320AIC3X)	+= snd-soc-tlv320aic3x.o
 obj-$(CONFIG_SND_SOC_UDA1380)	+= snd-soc-uda1380.o
sound/soc/codecs/tlv320aic23.c new file +670 -0

670 lines not on this page · raw message

sound/soc/codecs/tlv320aic23.h new file +122 -0

122 lines not on this page · raw message

Signature · 1 line
1.5.6.5
author
#2 lore raw

PATCH 2/3 ASoC: Add support for osk5912

From: Arun KS <[email protected]>

Adding ASoC machine driver for osk5912

---
 sound/soc/omap/Kconfig   |    8 ++
 sound/soc/omap/Makefile  |    2 +
 sound/soc/omap/osk5912.c |  232 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 242 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/omap/osk5912.c
sound/soc/omap/Kconfig +8 -0
index aea27e7..8b7766b 100644
@@ -13,3 +13,11 @@ config SND_OMAP_SOC_N810
 	select SND_SOC_TLV320AIC3X
 	help
 	  Say Y if you want to add support for SoC audio on Nokia N810.
+
+config SND_OMAP_SOC_OSK5912
+	tristate "SoC Audio support for omap osk5912"
+	depends on SND_OMAP_SOC && MACH_OMAP_OSK
+	select SND_OMAP_SOC_MCBSP
+	select SND_SOC_TLV320AIC23
+	help
+	  Say Y if you want to add support for SoC audio on osk5912.
sound/soc/omap/Makefile +2 -0
index d8d8d58..e09d1f2 100644
@@ -7,5 +7,7 @@ obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o
 
 # OMAP Machine Support
 snd-soc-n810-objs := n810.o
+snd-soc-osk5912-objs := osk5912.o
 
 obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o
+obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o
sound/soc/omap/osk5912.c new file +232 -0

232 lines not on this page · raw message

Signature · 1 line
1.5.6.5
author
#3 lore raw

PATCH 3/3 ASoC: Add DSP DAI format support to the OMAP McBSP driver

From: Arun KS <[email protected]>

Enables DSP DAI format for McBSP in OMAP platform driver

---
 sound/soc/omap/omap-mcbsp.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
sound/soc/omap/omap-mcbsp.c +5 -0
index 35310e1..fb920e1 100644
@@ -245,6 +245,11 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
 		regs->rcr2	|= RDATDLY(1);
 		regs->xcr2	|= XDATDLY(1);
 		break;
+	case SND_SOC_DAIFMT_DSP_A:
+		/* 0-bit data delay */
+		regs->rcr2      |= RDATDLY(0);
+		regs->xcr2      |= XDATDLY(0);
+		break;
 	default:
 		/* Unsupported data format */
 		return -EINVAL;
Signature · 1 line
1.5.6.5
#4 lore raw
In reply to Mark Brown

At Fri, 3 Oct 2008 09:53:38 +0100,

Quoted 8 lines · Mark Brown

The following changes since commit ddaea5119fd2efde7b3936d4ccfa34c4201be0d3:
Takashi Iwai (1):
Merge branch 'asoc-fixes' into topic/asoc

are available in the git repository at:

git://opensource.wolfsonmicro.com/linux-2.6-asoc for-tiwai

Thanks, pulled now.

Quoted 2 lines

There's more to come on the TLV320AIC23 but at this point it's all cleanups and it's much easier to review incremental patches.

OK. I hope these can be merged before 2.6.28 merge window.

Takashi