[alsa-devel] [PATCH v4] ASoC:Add support for cs42l73 codec

Girdwood, Liam lrg at ti.com
Wed Oct 19 10:06:01 CEST 2011


On 18 October 2011 16:46, Austin, Brian <Brian.Austin at cirrus.com> wrote:
>
> On Oct 18, 2011, at 10:11 AM, Brian Austin wrote:
>
>> Signed-off-by:Brian Austin <brian.austin at cirrus.com>
>> Signed-off-by:Georgi Vlaev <joe at nucleusys.com>
>>
>> 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
>>
>> diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
>> index 4584514..22ab2fc 100644
>> --- a/sound/soc/codecs/Kconfig
>> +++ b/sound/soc/codecs/Kconfig
>> @@ -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
>
> 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


More information about the Alsa-devel mailing list