-
Notifications
You must be signed in to change notification settings - Fork 132
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
Conversation
Would you like to address the typo in the commit message? https://sof-ci.01.org/linuxpr/PR5303/build5873/checkpatch/index.html |
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]>
@bardliao done. |
@dbaluta Would you like to submit the patches to ASoC tree by yourselves or you prefer us to submit them? |
@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.
Thanks. |
@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. |
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.