From: Daniel Baluta <daniel.baluta@nxp.com>
To: broonie@kernel.org, alsa-devel@alsa-project.org,
devicetree@vger.kernel.org
Cc: robh@kernel.org, shengjiu.wang@nxp.com,
linux-kernel@vger.kernel.org, wakasugi.jb@om.asahi-kasei.co.jp,
fabio.estevam@nxp.com, andy.shevchenko@gmail.com,
linux-imx@nxp.com, cosmin.samoila@nxp.com, daniel.baluta@nxp.com,
mihai.serban@gmail.com
Subject: [PATCH v3 0/2] Add support for AK5558 ADC
Date: Mon, 5 Feb 2018 19:01:53 +0200 [thread overview]
Message-ID: <1517850115-24340-1-git-send-email-daniel.baluta@nxp.com> (raw)
We support normal mode, TDM mode and pm.
Changes since v2: [addressed comments from Andy, Fabio and Rob]
* sort include files
* use probe_new
* reword the binding document
* use adc@10 instead of ak5558@10
* remove file name at the beginning of codec source code.
* make i2c_probe and i2c_remove parameters naming consistent.
Changes since v1: [addressed comments from Andy and Fabio]
* fix GPIO polarity from active high to active low for correct documentation
* fix license header by using SPDX identifier
* remove debug prints at the beginning of functions.
* only support auto clock switching (manual switching was dead code anyway) (in the
future we could add a DT property to choose between manual and auto)
* Use gpiod API
* use GENMASK
* introduce power_off/power_on
One open question is the resume sequence which appears to need power_off/power_on.
Just power_on alone isn't enough. With just power_on after resume aplay plays a
song for 1 seconds and then the sound stops.
Datasheet says, page 55"
(1) The PDN pin should be held to “L” for more than 150 ns after AVDD and TVDD are powered up.
Daniel Baluta (2):
ASoC: codecs: Add support for AK5558 ADC driver
ASoC: ak5558: Add bindings for AK5558 ADC
Documentation/devicetree/bindings/sound/ak5558.txt | 22 +
sound/soc/codecs/Kconfig | 6 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/ak5558.c | 618 +++++++++++++++++++++
sound/soc/codecs/ak5558.h | 52 ++
5 files changed, 700 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/ak5558.txt
create mode 100644 sound/soc/codecs/ak5558.c
create mode 100644 sound/soc/codecs/ak5558.h
--
2.7.4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next reply other threads:[~2018-02-05 17:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-05 17:01 Daniel Baluta [this message]
2018-02-05 17:01 ` [PATCH v3 1/2] ASoC: codecs: Add support for AK5558 ADC driver Daniel Baluta
2018-02-05 20:27 ` Fabio Estevam
[not found] ` <1517850115-24340-2-git-send-email-daniel.baluta-3arQi8VN3Tc@public.gmane.org>
2018-02-06 14:12 ` Andy Shevchenko
2018-02-12 12:02 ` Mark Brown
[not found] ` <20180212120213.GB12976-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2018-02-13 12:15 ` Daniel Baluta
2018-02-05 17:01 ` [PATCH v3 2/2] ASoC: ak5558: Add bindings for AK5558 ADC Daniel Baluta
[not found] ` <1517850115-24340-3-git-send-email-daniel.baluta-3arQi8VN3Tc@public.gmane.org>
2018-02-05 20:26 ` Fabio Estevam
[not found] ` <CAOMZO5D_5E9H6dJw8ivOgvOqxNvAZ72qhADCoG7VAZ7QwiOcUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-06 2:16 ` Fabio Estevam
2018-02-09 2:46 ` Rob Herring
2018-02-16 12:16 ` Applied "ASoC: ak5558: Add bindings for AK5558 ADC" 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=1517850115-24340-1-git-send-email-daniel.baluta@nxp.com \
--to=daniel.baluta@nxp.com \
--cc=alsa-devel@alsa-project.org \
--cc=andy.shevchenko@gmail.com \
--cc=broonie@kernel.org \
--cc=cosmin.samoila@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mihai.serban@gmail.com \
--cc=robh@kernel.org \
--cc=shengjiu.wang@nxp.com \
--cc=wakasugi.jb@om.asahi-kasei.co.jp \
/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).