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

i.MX8: Add support for new board revisions #5303

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

dbaluta
Copy link
Collaborator

@dbaluta dbaluta commented Jan 21, 2025

This adds support for new i.MX8MP, i.MX8QM and i.MX8QXP revisions and also help select the correct topology for cs42888 codec found on Audio IO card.

@bardliao
Copy link
Collaborator

Would you like to address the typo in the commit message? https://sof-ci.01.org/linuxpr/PR5303/build5873/checkpatch/index.html

dbaluta and others added 2 commits January 22, 2025 10:21
After commit 2b9cdef ("ASoC: SOF: imx: Add devicetree support
to select topologies") we select topology to be used by the board
compatible string in the dts.

Now that we have a way to know when the baseboard is installed, use
the board compatible and select proper topology files when the cs42888
Audio IO card is used.

Signed-off-by: Daniel Baluta <[email protected]>
The new revisions for 8QM and 8QXP have wm8962 codec instead of wm8960.
Therefore add new entries in sof_imx8_machs, an array of snd_sof_of_mach,
where we describe topology name and driver name.
For the new revisions we have new compatible values and based on these,
we select the new topology file, for wm8962 codec.

Signed-off-by: Iuliana Prodan <[email protected]>
Signed-off-by: Daniel Baluta <[email protected]>
Reviewed-by: Laurentiu Mihalcea <[email protected]>
The new revision for 8M Plus has wm8962 codec instead of wm8960.
Therefore add new entry in sof_imx8mp_machs, an array of snd_sof_of_mach,
where we describe topology name and driver name.
For the new revision we have new compatible value and based on this,
we select the new topology file, for wm8962 codec.

Signed-off-by: Iuliana Prodan <[email protected]>
Signed-off-by: Daniel Baluta <[email protected]>
Reviewed-by: Laurentiu Mihalcea <[email protected]>
@dbaluta
Copy link
Collaborator Author

dbaluta commented Jan 22, 2025

@bardliao done.

@bardliao
Copy link
Collaborator

@dbaluta Would you like to submit the patches to ASoC tree by yourselves or you prefer us to submit them?

@dbaluta
Copy link
Collaborator Author

dbaluta commented Jan 22, 2025

@bardliao I will submit them myself to Asoc tree.

@dbaluta dbaluta merged commit 03c6071 into thesofproject:topic/sof-dev Jan 22, 2025
10 of 14 checks passed
@dbaluta dbaluta deleted the add_platf branch January 22, 2025 15:19
@bardliao
Copy link
Collaborator

@bardliao I will submit them myself to Asoc tree.

Then we should not merge it into SOF tree here. Otherwise, we may have merge conflicts when we do the next upstream merge.
Can you get the commits from https://github.com/thesofproject/linux/commits/topic/sof-dev-rebase when you submit the patches to prevent potential merge confit?
I.e.

ef82df08ba34 ASoC: SOF: imx8m: Add entry for new 8M Plus revision
e3664d35fba6 ASoC: SOF: imx8: Add entries for new 8QM and 8QXP revisions
83fd9268756a ASoC: SOF: imx: Add mach entry to select cs42888 topology

Thanks.

@dbaluta
Copy link
Collaborator Author

dbaluta commented Jan 23, 2025

@bardliao thanks for pointing out, I always took the patches from topic/sof-dev but I get your point. Will send v2 to community based on sof-dev-rebase.

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.

6 participants