-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drivers: dai: add DAI driver for Intel UAOL #69906
base: main
Are you sure you want to change the base?
Conversation
2ad4f2e
to
334330f
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.
That's a big PR to go through. Some minor comments inline, but nothing to block merge. The first commit affects other DAI users, so I added Daniel to review list.
334330f
to
f5d6684
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.
Thanks @tlissows , looks good now! One question/comment I missed yesterday, can you check (see inline)?
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.
Some notes, though I didn't get all the way through. Mostly about API and interop issues, obviously I'm not qualified to talk about the hardware.
Bulk changing the milestone from everything which did not make it to the v3.7.0 freeze deadline Please note that until rc2 only PRs containing bug fixes, docs and tests can be merged. Exceptions require approval by the release team and a vote by the TSC. |
f4a6409
to
fbefe20
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.
Please prepare a pull request in SOF that points to this PR. Rebuilding this with SOF will avoid the need to return here with minor fixes after the merge. Currently, I am not sure, but previously in some SOF workflows, warnings were treated as errors.
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 solution of moving the driver for UAOL to a lower level than DAI is okay. However, you have device power management implemented twice because of this. Is there a reason for this? In other DAIs, we have device power management because there is no driver below for the given interface. I think power management in drivers/uaol/uaol_intel_adsp.c
would be sufficient. Additionally, the appropriate power domains should be added to the DTS (UAOL is in the hst_domain
domain).
fbefe20
to
2355eeb
Compare
I am removing my change request because I won't be available in the near future and I don't want to unnecessarily block these changes.
2355eeb
to
2c0fa06
Compare
UAOL power domains added in DTS. As for power management, exposing it by UAOL DAI driver (in addition to UAOL IP driver) seems reasonable due to its ease of use on application side. As an example please see basefw_vendor_dma_control() function (in SOF), where you can find power mnanagement API called directly for DAI devices. Calls for UAOL IP devices would also be possible, but much more complicated. Some extra steps would be needed (like UAOL DAI -> IP mapping) thus creating an exceptional path for UAOL. |
Removed support for ACE1.x platform from this PR. Also aligned to the changes introduced by commit include: dai: Introduce runtime DAI configuration update API. |
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.
My earlier comments have been addressed.
2c0fa06
to
24f9416
Compare
This adds a driver for USB Audio Offload Link (UAOL) IP on Intel ACE2.0 and ACE3.0 platforms. Signed-off-by: Tomasz Lissowski <tomasz.lissowski@intel.com>
This adds a DAI driver for USB Audio Offload Link (UAOL) individual streams on Intel ACE2.0 and ACE3.0 platforms. Signed-off-by: Tomasz Lissowski <tomasz.lissowski@intel.com>
24f9416
to
12cd681
Compare
Rebased on top of main. |
This PR adds a DAI driver for USB Audio Offload Link (UAOL) on Intel ACE2.0 and ACE3.0 platforms.