Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

tplg: add nocodec topology for icelake#26

Merged
lgirdwood merged 1 commit intothesofproject:masterfrom
RanderWang:icl
Jul 17, 2018
Merged

tplg: add nocodec topology for icelake#26
lgirdwood merged 1 commit intothesofproject:masterfrom
RanderWang:icl

Conversation

@RanderWang
Copy link
Copy Markdown
Collaborator

Test it on ICL

Signed-off-by: Rander Wang rander.wang@linux.intel.com

Comment thread topology/sof-icl-nocodec.m4 Outdated
#
# Define the pipelines
#
# PCM0 ----> volume -----> volume ----> SSP0
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.

why do you need two volumes?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

typo, I will fix it

#
# BE configurations - overrides config in ACPI if present
#
DAI_CONFIG(SSP, 0, 0, NoCodec-0,
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 looks like all other test topologies, why do you need something specific for ICL?

Copy link
Copy Markdown
Collaborator Author

@RanderWang RanderWang Jul 13, 2018

Choose a reason for hiding this comment

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

some settings are different on different platform. For example, there are 6 SSP ports available on APL, but only 2 on CNL. And MCLK on APL is 19.2MHZ, but on CNL is 24MHZ and on ICL 38.4MHZ. So it makes trouble for others to validate on each platform. So I made this for others to have a easy life

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.

ok, I didn't click that this the file used by default in nocodec mode, fine.

Comment thread topology/platform/intel/icl.m4 Outdated

# Low Latency PCM Configuration
# Low Latency PCM Configuration
W_VENDORTUPLES(pipe_ll_schedule_plat_tokens, sof_sched_tokens, LIST(` ', `SOF_TKN_SCHED_MIPS "50000"'))
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.

fix the alignment?

Copy link
Copy Markdown
Collaborator Author

@RanderWang RanderWang Jul 13, 2018

Choose a reason for hiding this comment

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

Yes, I will refine it

# BE configurations - overrides config in ACPI if present
#
DAI_CONFIG(SSP, 0, 0, NoCodec-0,
SSP_CONFIG(DSP_B, SSP_CLOCK(mclk, 38400000, codec_mclk_in),
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.

can you check if the MCLK really needs to be that high? Or are we confusing clock source and clock output?

Copy link
Copy Markdown
Collaborator Author

@RanderWang RanderWang Jul 13, 2018

Choose a reason for hiding this comment

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

yes, it is clock source 38.4MHZ on ICL confirmed by AUDIO PEG team.
And I also studied the ssp code, clock output maybe lower, just like 19.2MHZ.
It is just a test at max clock.

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.

ok for nocodec cases it makes sense to verify the clock output at max rate.

Copy link
Copy Markdown
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

ok, I get it now, but please fix the word wrap issues in icl.m4

Comment thread topology/platform/intel/icl.m4 Outdated
define(`PLATFORM_COMP_MEM_CAP', MEMCAPS(MEM_CAP_RAM, MEM_CAP_CACHE))

# Low Latency PCM Configuration
W_VENDORTUPLES(pipe_ll_schedule_plat_tokens, sof_sched_tokens, LIST(` ', `SOF_TKN_SCHED_MIPS "50000"'))
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.

can you fix the long lines?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yes, I will fix it

@RanderWang RanderWang force-pushed the icl branch 3 times, most recently from fb230df to 6ba6074 Compare July 16, 2018 01:59
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
@RanderWang
Copy link
Copy Markdown
Collaborator Author

Fix log lines issue

@lgirdwood lgirdwood merged commit 576d15b into thesofproject:master Jul 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants