~canonical-hwe-team/hwe-next/+git/sof:cml-hda-dmic-002-drop-stable

Last commit made on 2019-11-07
Get this branch:
git clone -b cml-hda-dmic-002-drop-stable https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
cml-hda-dmic-002-drop-stable
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

0f73628... by Jaska Uimonen <email address hidden>

topology: enable override of pga and mixercontrol names

Currently m4 parses pga and mixercontrol topology names partly from
static strings, pipeline id's and user defined names. This automagically
differentiates the pga's nicely, but makes some pga control names human
unreadable and error prone for example to to pipeline id changes. So
make it possible to define the pga and control name with PGA_NAME and
CONTROL_NAME.

Signed-off-by: Jaska Uimonen <email address hidden>

9395684... by Jaska Uimonen <email address hidden>

topology: add mute switch with led to eq capture pipe

Add mute switch with led control to capture playback pipeline's volume
component. This will show in user space alsa controls as 1 element with
2 controls (volume and mute switch). Some user space audio software like
this a lot.

Signed-off-by: Jaska Uimonen <email address hidden>

c75fe58... by Jaska Uimonen <email address hidden>

topology: add mute led support to mixer control

Add optional mute led token support to mixer control. Optional
parameters at the end of mixer control macro will add mute led tokens
and related parameters to the private data section.

Signed-off-by: Jaska Uimonen <email address hidden>

2ca82d2... by Jaska Uimonen <email address hidden>

topology: add mute led tokens

Add tokens to topology for led use and led direction. Led use is true
for positive integers, false for 0. Led direction 0 corresponds to
playback and positive integers to capture.

Signed-off-by: Jaska Uimonen <email address hidden>

62f52ee... by Jaska Uimonen <email address hidden>

topology: rename dmic pga and control names in capture eq pipe

Rename dmic pga and control names to human readable format as they might
be used by user space software.

Signed-off-by: Jaska Uimonen <email address hidden>

f245eb4... by Seppo Ingalsuo <email address hidden>

Topology: Add amplifying high-pass EQ to DMIC capture paths

This patch alters topologies those use pipelines definitions from
intel-generic-dmic.m4. The 48 kHz and 16 kHz capture pipelines are
changed to use pipe-eq-capture instead of pipe-volume-capture. The new
pipeline contains volume but also an IIR EQ set for second order
high-pass with 50 Hz cut-off frequency. The IIR includes +20 dB
gain. The volume max is decreased by 10 dB due to the amplifying
IIR add.

The gain in IIR helps with too low capture loudness with default 0 dB
setting for volume. Further gain can be achieved with volume control.

The high-pass filter fixes the issue of too slow DCCOMP settling in
DMIC platform hardware. With IIR add the DMIC unmute ramp is shortened
to 200 ms from 400 ms in the 48 kHz pipeline. In 16 kHz pipeline the
400ms unmute is preserved due to slower DCCOMP settling time.

The min. channels count of two is replaced by pipeline channels count
macro to prevent corrupt capture to happen by capturing as 2ch from
4ch source.

Signed-off-by: Seppo Ingalsuo <email address hidden>

abcd353... by Janusz Jankowski <email address hidden>

cmake: meu: support extra meu flags

Meu flags can be extended with MEU_EXTRA_FLAGS variable.
These flags are added after default arguments.

Signed-off-by: Janusz Jankowski <email address hidden>

e061055... by Janusz Jankowski <email address hidden>

cmake: meu: support override of flags

Custom meu flags can be set with MEU_FLAGS variable.

Signed-off-by: Janusz Jankowski <email address hidden>

bb40cdd... by Janusz Jankowski <email address hidden>

interrupt: dynamic clock change for waiti

While in waiti FW should use 120mHz clock on CNL platform.

Signed-off-by: Janusz Jankowski <email address hidden>

6cc8da1... by Ranjani Sridharan <email address hidden>

dai: assign/free link DMA channel during dai_config()

The recommended HDA HW programming sequence for setting
the DMA format requires that the link DMA and host DMA
channels be coupled before setting the format. This
change means that host DMA or link DMA channels be
reserved even if only one is used.

Statically assigned link DMA channels would mean that
all the corresponding host DMA channels will need to be
reserved, leaving only a few channels available at run-time.
So, the suggestion here is to switch to dynamically assigning
both host DMA channels and link DMA channels are run-time.

This change means that the DAI_CONFIG IPC will be sent
multiple times during link hw_params and link hw_free
ioctl. The DAI config parameters will remain the same
except for the link DMA channel that will be assigned at
run-time. A value of DMA_CHAN_INVALID from the driver
during hw_free indicates a request to free the current
link DMA channel in use. The current channel in use
is freed before assiging the new channel requested in
the DAI_CONFIG IPC.

Signed-off-by: Ranjani Sridharan <email address hidden>