-
Notifications
You must be signed in to change notification settings - Fork 321
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
intel_adsp20: Enable LNL (ACE 2.0) platform in sof #7479
Conversation
eab1abd
to
7f4e774
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok for SSP/DMIC, NAK on SoundWire/ALH
dc70f5c
to
79e8611
Compare
79e8611
to
0d700b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of misses in the LNL definitions @jxstelter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good to go (no blocking issues aside the ones already pointed out by other reviewers). In general, the src/platform part could be slimmed down further, but I'd not start doing this work in this LNL PR as the actions need to be done on MTL as well (relates to #7248 ).
be8fef4
to
78b4659
Compare
32b358e
to
5306b2b
Compare
Add initial LNL configuration. Enable building for xt-clang. Signed-off-by: Jaroslaw Stelter <[email protected]>
The LNL platform added to RI_INFO_FIXME list in build script. Signed-off-by: Jaroslaw Stelter <[email protected]>
211b10b
to
3a578c4
Compare
3a578c4
to
de2a84c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the only remaining request from me is that dai_set_link_hda_config()
should be implemented in the HDA driver
The problem with this is that depending on interface (DMIC vs SSP) different fields of IPC4 (Init Instance) needs to be used to calculate the link config value. If moved to zephyr driver, we need to pass there several parameters instead of single uint16_t value. Therefore I prepare it here and pass to driver which programs HW register. Drivers do not understand IPC4 payload structure so anyway we needs to parse it in SOF. |
@plbossart Pierre, is your change request resolved? |
SOFCI TEST |
@lyakh Ok with the response on link_config? This is anyways the current DAI interface in Zephyr, so I'd say even if we'd change it, this would have to be in different pr. @plbossart Ping? |
de2a84c
to
8b71fab
Compare
In LNL the GPDMA engine was removed. Instead HD Audio Link DMA is used to transport data over audio interfaces. Since HD Audio is a Host managed engine, the link configuration is passed through IPCv4. The configuration must be forwarded to appropriate interface driver to configure HW. Signed-off-by: Jaroslaw Stelter <[email protected]>
8b71fab
to
ab41814
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only couple of 'I prefer to write code in a different way' type of things, but those are subjective I guess as no one pointed out those.
I don't have further comments.
Known error in https://sof-ci.01.org/sofpr/PR7479/build8442/devicetest/index.html and https://sof-ci.01.org/sofpr/PR7479/build8443/devicetest/index.html , proceeding with merge. |
Somehow it came back. Fixed (again?) in |
This patch contains changes required to enable LNL (ACE 2.0) platform in SOF
and bring-up basic interfaces and features.
Required zephyr change:
Signed-off-by: Jaroslaw Stelter [email protected]