devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add MICFIL DAI support
@ 2019-01-04  9:17 Cosmin Samoila
  2019-01-04  9:17 ` [PATCH v2 1/2] ASoC: micfil: Add bindings for MICFIL DAI Cosmin Samoila
  2019-01-04  9:17 ` [PATCH v2 2/2] ASoC: Add MICFIL SoC Digital Audio Interface driver Cosmin Samoila
  0 siblings, 2 replies; 5+ messages in thread
From: Cosmin Samoila @ 2019-01-04  9:17 UTC (permalink / raw)
  To: broonie@kernel.org, alsa-devel@alsa-project.org,
	devicetree@vger.kernel.org, robh@kernel.org,
	gabrielcsmo@gmail.com
  Cc: Cosmin Samoila, S.j. Wang, dl-linux-imx

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-07 18:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04  9:17 [PATCH v2 0/2] Add MICFIL DAI support Cosmin Samoila
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

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).