~canonical-hwe-team/hwe-next/+git/sof:smart_amp_init_config_update

Last commit made on 2020-09-11
Get this branch:
git clone -b smart_amp_init_config_update https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
smart_amp_init_config_update
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

b355224... by Dharageswari R <email address hidden> on 2020-09-10

topology: Update number of smart_amp_feedback channel on max98373

This patch modifies the number of feedback channels from the
smart amplifier on max98373 codec in sof-tgl-max98373-rt5682.

Signed-off-by: Dharageswari R <email address hidden>

5c0555c... by Dharageswari R <email address hidden> on 2020-09-10

topology: Modify init params for the Smart_amp Config

This patch modifies the feedback channels and channel map
of the smart_amp configuration based on the number of feedback
channels from the codec.

Signed-off-by: Dharageswari R <email address hidden>

64a1657... by Keyon Jie <email address hidden> on 2020-04-15

pipeline: add negotiation before propagating params

For different connected pipelines, they are usually connected via a
component with >1 source or sink buffers, as most of those components
don't have ability to converse frame format or sample rate, we need add
a params negotiation mechanism between those pipelines.

If all buffers are iterated in the params propagation direction, no
negotiation needed, otherwise we need to iterate all other buffers in
the opposite direction, to make sure all connected buffers have chance
to take part in the negotiation.

The negotiation should happen before we can propagate the params
further, when doing negotiation in a branch/buffer, we should check:
If a branch is active, check if params is matched, return error to
reject the whole .params() requirement if not.
If a branch is inactive, force update the params to its calling buffer,
to make sure all branches are aligned on the format.

We are propagating the params to branched buffer, and the subsequent
component's .params() or .prepare() should be responsible to calibrate
the buffer params if needed. For example, a component who has different
channels buffers should explicitly configure the channels for its
branched buffers (the ones connected to another pipeline).

Signed-off-by: Keyon Jie <email address hidden>

968eaf1... by Keyon Jie <email address hidden> on 2020-05-29

pipeline: add a flag to indicate if the buffer is being traversed

Add a flag 'walking' to the buffer struct, to indicate if the buffer is
just being traversed while walking through the graph, and don't go back
to the buffer which is already walked.

Signed-off-by: Keyon Jie <email address hidden>

2ae1826... by Keyon Jie <email address hidden> on 2020-04-15

buffer: add helper to check if buffer format is matched to param

Add a helper buffer_param_match() to check if the configured runtime
buffer frame format/rate/channels are matched to the param ones

Signed-off-by: Keyon Jie <email address hidden>

d4109e0... by Ryan Lee <email address hidden> on 2020-09-02

smart amp: VI data seqeunce swap

Sequence of VI(Voltage and current) sensing data is changed from
IVIV to VIVI. Swapped VI sequence to supply proper data format
to DSM library.

Signed-off-by: Ryan Lee <email address hidden>

728a482... by Ryan Lee <email address hidden> on 2020-09-02

smart amp: Integrated Maxim DSM library functions

Added Maxim DSM integration code.

Signed-off-by: Ryan Lee <email address hidden>

3eb1f37... by Ryan Lee <email address hidden> on 2020-09-08

smart amp: Disable Maxim smart amp component as default

This commit disable Maxim smart amp component as default.
This change will remain until DSM library and its license file are merged.

Signed-off-by: Ryan Lee <email address hidden>

808dfac... by Dharageswari R <email address hidden> on 2020-09-01

topology: Add UUID for Maxim DSM component

This patch adds UUID for Maxim DSM component in sof-tgl-max98373-rt5682.

Signed-off-by: Dharageswari R <email address hidden>

7bf3f8e... by Dharageswari R <email address hidden> on 2020-09-01

topology: smart_amp: Pass uuid token to the smart_amp widget

This patch adds the uuid argument to smart_amp widget, uuid
parameter can be configured by the topology files while
integrating any new component. If not configured, uuid will
be assigned with the UUID of the smart_amp_test component as
default value.

Signed-off-by: Dharageswari R <email address hidden>