Skip to content

DMIC: Support capture from different microphones for DAI 0 and 1 - #1446

Merged
tlauda merged 1 commit into
thesofproject:glk-012-stable-branchfrom
singalsu:dmic_allow_different_dai_channels_for_glk_012
May 17, 2019
Merged

tlauda merged 1 commit into
thesofproject:glk-012-stable-branchfrom
singalsu:dmic_allow_different_dai_channels_for_glk_012

Conversation

@singalsu

Copy link
Copy Markdown
Collaborator

This patch allows to configure the two DMIC DAIs for different
used microphones, e.g. DAI 0 for 4ch and DAI 1 for 2ch capture.

The common decimator core is programmed for combined max. request
and the FIFOs are configured to match the desired microphones. In
case of not a possible configuration an error is returned.

Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com

@singalsu

Copy link
Copy Markdown
Collaborator Author

This PR for GLK 012 stable is the same as proposed for master branch.

@singalsu

Copy link
Copy Markdown
Collaborator Author

I'll update this per suggestion from @jajanusz. GLK needs only the first commit with feature add. The test topologies for APL are not relevant.

This patch allows to configure the two DMIC DAIs for different
used microphones, e.g. DAI 0 for 4ch and DAI 1 for 2ch capture.

The common decimator core is programmed for combined max. request
and the FIFOs are configured to match the desired microphones. In
case of not a possible configuration an error is returned.

The patch also cleans up the magic value of four that was used in
determining IPM bit fields setting.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu
singalsu force-pushed the dmic_allow_different_dai_channels_for_glk_012 branch from e404471 to be3ebee Compare May 16, 2019 15:18
@jajanusz

Copy link
Copy Markdown
Contributor

@mrajwa I guess glk drop is your branch. Please take a look at this.

@tlauda
tlauda merged this pull request into thesofproject:glk-012-stable-branch May 17, 2019
@singalsu
singalsu deleted the dmic_allow_different_dai_channels_for_glk_012 branch January 27, 2021 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants