[PATCH v3 0/2] Add support for AK4458 DAC

From: Cosmin-Gabriel Samoila
Date: Wed Feb 14 2018 - 10:56:14 EST


We support Normal Mode, TDM Mode and PM.

Changes since V2:
- remove unused code left from V1
- rewrite set_dai_fmt to only remember the format since
- the format is rewritten in hw_params
- use defined constants for mode in set_tdm_slot function
- use GENMASK
- add commit message for bindings patch
- modify bindings description text since we only support I2C for now
- rename ak4458_codec_probe to ak4458_probe
- write whole implementation of regmap init and gpiod get in i2c_probe
- added ak4458_remove where we power_off the chip

Changes since V1:
- support only i2c
- i2c probe / remove/suspend/ resume moved into shared code
- change enum array to separate variables
- aggregate Volume control for Left and Right Channel
- remove mux from DAPM
- remove unused functions
- remove unused controls
- remove unused macros
- use snd_soc_update_bits instead of soc_read + soc_write
- use GPIOD
- use SPDX identifier
- use dac@10 instgitead of ak4458@10
- use explicit power_on/off functions
- add __maybe_unused attribute
- use probe_new for i2c_probe

Cosmin-Gabriel Samoila (2):
ASoC: codecs: Add support for AK4458 DAC driver
ASoC: ak4458: Add bindings for AK4458 DAC

Documentation/devicetree/bindings/sound/ak4458.txt | 23 +
sound/soc/codecs/Kconfig | 6 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/ak4458.c | 659 +++++++++++++++++++++
sound/soc/codecs/ak4458.h | 86 +++
5 files changed, 776 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/ak4458.txt
create mode 100644 sound/soc/codecs/ak4458.c
create mode 100644 sound/soc/codecs/ak4458.h

--
2.7.4