alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
To: broonie@kernel.org, alsa-devel@alsa-project.org,
	devicetree@vger.kernel.org, robh@kernel.org
Cc: shegjiu.wang@nxp.com, linux-kernel@vger.kernel.org,
	linux-imx@nxp.com,
	Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>,
	daniel.baluta@nxp.com, mihai.serban@gmail.com
Subject: [PATCH v3 0/2] Add support for AK4458 DAC
Date: Wed, 14 Feb 2018 15:21:05 +0200	[thread overview]
Message-ID: <1518614467-20613-1-git-send-email-cosmin.samoila@nxp.com> (raw)

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

             reply	other threads:[~2018-02-14 13:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 13:21 Cosmin-Gabriel Samoila [this message]
2018-02-14 13:21 ` [PATCH v3 1/2] ASoC: codecs: Add support for AK4458 DAC driver Cosmin-Gabriel Samoila
2018-02-14 16:21   ` Andy Shevchenko
2018-02-14 21:35   ` Philippe Ombredanne
2018-02-16 11:54   ` Mark Brown
     [not found]   ` <1518614467-20613-2-git-send-email-cosmin.samoila-3arQi8VN3Tc@public.gmane.org>
2018-02-16 12:04     ` Applied "ASoC: ak4458: Add support for AK4458 DAC driver" to the asoc tree Mark Brown
2018-02-14 13:21 ` [PATCH v3 2/2] ASoC: ak4458: Add bindings for AK4458 DAC Cosmin-Gabriel Samoila
     [not found]   ` <1518614467-20613-3-git-send-email-cosmin.samoila-3arQi8VN3Tc@public.gmane.org>
2018-02-16 12:04     ` Applied "ASoC: ak4458: Add bindings for AK4458 DAC" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518614467-20613-1-git-send-email-cosmin.samoila@nxp.com \
    --to=cosmin.samoila@nxp.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=daniel.baluta@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mihai.serban@gmail.com \
    --cc=robh@kernel.org \
    --cc=shegjiu.wang@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).