From: Cosmin Samoila <cosmin.samoila@nxp.com>
To: "broonie@kernel.org" <broonie@kernel.org>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"gabrielcsmo@gmail.com" <gabrielcsmo@gmail.com>
Cc: Cosmin Samoila <cosmin.samoila@nxp.com>,
"S.j. Wang" <shengjiu.wang@nxp.com>,
dl-linux-imx <linux-imx@nxp.com>
Subject: [PATCH v2 0/2] Add MICFIL DAI support
Date: Fri, 4 Jan 2019 09:17:36 +0000 [thread overview]
Message-ID: <1546593445-10509-1-git-send-email-cosmin.samoila@nxp.com> (raw)
PDM is a popular way to deliver audio from microphones to the processor
in several applications, such as mobile telephones. However, current
digital-audio systems use multibit audio signal (also known as multibit
PCM) to represent the signal. For this purpose a set of FIR, CIC or/and
Half Band filters are usually implemented on DSPs or software. This block
implements the required digital interface to provide a 16-bit audio signal
from a PDM microphone bitstream in a configurable output sampling rate.
The implementation of this digital interface is based on the application
of digital signal processing techniques in hardware. The PDM Microphone
Interface architecture was designed to gate saving and minimal power
consumption. It implements a bunch of filters to transform a 1-bit PDM
bitstream to a 16-bit PCM signal in the audio band. To avoid aliasing
frequencies in passband, the overall filter has 80 dB stopband attenuation
and passband ripple less than 0.2dB.
The whole module is implemented to work in a multichannel mode. All
channels have the same configuration but each input channel could be turned
on/off independently.
Changes since v1:
- removed the hwvad support from patches since it is a separate functionality
and it needs some design rework. Will address HWVAD in later series of patches
after analyzing comunity feedback and design guildlines.
- removed clock source choice for clock driver and use the AudioPLL1 as clock
source. Having only one clock source it is sufficient for basic functionality.
- removed dma-names and status from dt-bindings
- changed volume control names and type to S_VALUE
Cosmin-Gabriel Samoila (2):
ASoC: micfil: Add bindings for MICFIL DAI
ASoC: Add MICFIL SoC Digital Audio Interface driver.
.../devicetree/bindings/sound/fsl,micfil.txt | 32 +
sound/soc/fsl/Kconfig | 9 +
sound/soc/fsl/Makefile | 2 +
sound/soc/fsl/fsl_micfil.c | 895 +++++++++++++++++++++
sound/soc/fsl/fsl_micfil.h | 283 +++++++
5 files changed, 1221 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/fsl,micfil.txt
create mode 100644 sound/soc/fsl/fsl_micfil.c
create mode 100644 sound/soc/fsl/fsl_micfil.h
--
2.7.4
next reply other threads:[~2019-01-04 9:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-04 9:17 Cosmin Samoila [this message]
2019-01-04 9:17 ` [PATCH v2 1/2] ASoC: micfil: Add bindings for MICFIL DAI Cosmin Samoila
2019-01-07 18:57 ` Applied "ASoC: micfil: Add bindings for MICFIL DAI" to the asoc tree Mark Brown
2019-01-04 9:17 ` [PATCH v2 2/2] ASoC: Add MICFIL SoC Digital Audio Interface driver Cosmin Samoila
2019-01-07 18:57 ` Applied "ASoC: Add MICFIL SoC Digital Audio Interface driver." 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=1546593445-10509-1-git-send-email-cosmin.samoila@nxp.com \
--to=cosmin.samoila@nxp.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gabrielcsmo@gmail.com \
--cc=linux-imx@nxp.com \
--cc=robh@kernel.org \
--cc=shengjiu.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).