soc/codecs: add LAPIS Semiconductor ML26124
PATCH v5 1/1 soc/codecs: add LAPIS Semiconductor ML26124
ML26124-01HB/ML26124-02GD is 16bit monaural audio CODEC which has high resistance to voltage noise. On chip regulator realizes power supply rejection ratio be over 90dB so more than 50dB is improved than ever. ML26124-01HB/ ML26124-02GD can deliver stable audio performance without being affected by noise from the power supply circuit and peripheral components. The chip also includes a composite video signal output, which can be applied to various portable device
requirements. The ML26124 is realized these functions into very small package
the size is only 2.56mm x 2.46mm therefore can be construct high quality sound system easily.
ML26124-01HB is 25pin WCSP package; ML26124-02GD is 32pin WQFN package.
---
V4/V5: Updates Mark and Peter's comments.
- Modify private data structure
- Delete duplicate DECLARE_TLV_DB_SCALE
- Name matching (EQ Band1 Volume / EQ Band1 Switch)
- Add Digital MIC-in for Input select
- Change BIAS definition (SND_SOC_DAPM_SUPPLY to SND_SOC_DAPM_MICBIAS)
- Add supply intercon configuration
- Modify intercon path settings
- Add clock configurations (struct clk_coeff)
- Add channel(mono/stereo) condition
- Add register cache processing
- Add sleep after VMID enabled
- Delete empty methods
- Use devm_kzalloc not kzalloc
--- sound/soc/codecs/Kconfig | 4 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/ml26124.c | 587 ++++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/ml26124.h | 129 ++++++++++ 4 files changed, 722 insertions(+), 0 deletions(-) create mode 100644 sound/soc/codecs/ml26124.c create mode 100644 sound/soc/codecs/ml26124.h
sound/soc/codecs/Kconfig +4 -0
@@ -39,6 +39,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_MAX98095 if I2C select SND_SOC_MAX9850 if I2C select SND_SOC_MAX9877 if I2C + select SND_SOC_ML26124 if I2C select SND_SOC_PCM3008 select SND_SOC_RT5631 if I2C select SND_SOC_SGTL5000 if I2C
@@ -217,6 +218,9 @@ config SND_SOC_MAX98095 config SND_SOC_MAX9850 tristate +config SND_SOC_ML26124 + tristate + config SND_SOC_PCM3008 tristate
sound/soc/codecs/Makefile +2 -0
@@ -25,6 +25,7 @@ snd-soc-l3-objs := l3.o snd-soc-max98088-objs := max98088.o snd-soc-max98095-objs := max98095.o snd-soc-max9850-objs := max9850.o +snd-soc-ml26124-objs := ml26124.o snd-soc-pcm3008-objs := pcm3008.o snd-soc-rt5631-objs := rt5631.o snd-soc-sgtl5000-objs := sgtl5000.o
@@ -126,6 +127,7 @@ obj-$(CONFIG_SND_SOC_JZ4740_CODEC) += snd-soc-jz4740-codec.o obj-$(CONFIG_SND_SOC_MAX98088) += snd-soc-max98088.o obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o +obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o
sound/soc/codecs/ml26124.c new file +587 -0
587 lines not on this page · raw message
sound/soc/codecs/ml26124.h new file +129 -0
129 lines not on this page · raw message
Signature · 1 line
1.7.4.4