Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dmic nhlt update #254

Closed
wants to merge 3 commits into from
Closed

Conversation

jsarha
Copy link
Contributor

@jsarha jsarha commented Mar 5, 2024

Driver version 4 update from for DMIC NHLT generator, and some error print improvements.

singalsu and others added 3 commits March 5, 2024 22:25
Error if the version passed from topology is not known. Also fix the
dmic_set_params() error prints for to show the correct function name.

Signed-off-by: Seppo Ingalsuo <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
The former Burst Fifo ThresHold bits 20-23 in output register are
specified as reserved bits starting from driver version 4.

Signed-off-by: Seppo Ingalsuo <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
Many error prints had obsolete function name written in them, use
__func__ everywhere and add problematic value to the print if its
available.

Signed-off-by: Jyri Sarha <[email protected]>
@jsarha
Copy link
Contributor Author

jsarha commented Mar 5, 2024

@singalsu , the PR is here. Please let me know when we are ready to mark this "Ready for review".

@@ -781,7 +781,10 @@ static int configure_registers(struct intel_dmic_params *dmic, struct dmic_calc_
}
}

if (dmic->dmic_prm[di].driver_version == 2 || dmic->dmic_prm[di].driver_version == 3) {
if (dmic->dmic_prm[di].driver_version >= 2) {
if (dmic->dmic_prm[di].driver_version >= 4)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this saying that driver_version 4 and 5 are identical? I didn't see any other place where version 5 was checked, but it's allowed in the first patch.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now 4 and 5 are identical. If we need to enable new features of platform "5" there will be later more changes.

@jsarha jsarha marked this pull request as ready for review March 7, 2024 10:12
@jsarha
Copy link
Contributor Author

jsarha commented Mar 8, 2024

@perexg , I think this should be ready for merging.

@perexg perexg closed this in 9efbf45 Mar 16, 2024
perexg pushed a commit that referenced this pull request Mar 16, 2024
The former Burst Fifo ThresHold bits 20-23 in output register are
specified as reserved bits starting from driver version 4.

Closes: #254
Signed-off-by: Seppo Ingalsuo <[email protected]>
Signed-off-by: Jyri Sarha <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
perexg pushed a commit that referenced this pull request Mar 16, 2024
Many error prints had obsolete function name written in them, use
__func__ everywhere and add problematic value to the print if its
available.

Closes: #254
Signed-off-by: Jyri Sarha <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
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