Skip to content

topology: add cml support with da7219 and max98357a - #2397

Closed
macchian wants to merge 0 commit into
thesofproject:cml-008-patch-backportfrom
macchian:macchian-cml-008-kwd
Closed

macchian wants to merge 0 commit into
thesofproject:cml-008-patch-backportfrom
macchian:macchian-cml-008-kwd

Conversation

@macchian

Copy link
Copy Markdown
Contributor

Reuse sof-glk-da7219-kwd by adding sof-cml-da7219-max98357a
topology with KWD pipeline enabling

Signed-of-by: Mac Chiang mac.chiang@intel.com

Comment thread tools/topology/sof-glk-da7219-kwd.m4 Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This growth in conditional logic defeats the purpose of the include/define directives. Would we do this in a C file? No.
Far better to have a cml-blah-config and bxt-blah_config.m4 and inlude the correct file (with all these macro defs for format etc.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@macchian please align with @fredoh9 as he is working on the same fix for current upstream topologies. This can be applied after his update.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @lgirdwood. @fredoh9 , could you guide me how to include the marcor defs by separate m4 file? Or existed same code can share? Thanks.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@macchian see #2444 and #2461 I think @fredoh9 may have an update later today.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I will update them today

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @fredoh9 . I followed your codes by included cml.m4. Rebased and submitted #2497 for reviewing.

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