Skip to content
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

soc: intel_adsp: cavs: start using zephyr power management #55667

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

juimonen
Copy link
Collaborator

Start using zephyr power management in cavs platform in a similar way than is already done in ace.

@juimonen
Copy link
Collaborator Author

related sof side changes thesofproject/sof#7183

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

In general looks good. Might be useful to add a note to commit that this is based on code that already exists (and has been tested) in SOF mainline.

I'm a bit unsure about the D0i3 state. I don't think this patch has all functionality to enable real D0i3 on this hardware and I think that is ok. Enabling D3 via Zephyr native code, and having clock gating in idle state is ok initial step. But if we don't do the full D0i3 flow, then there are bits of code that are a bit misleading in this version (some preps that would be needed to go to deeper idle sleep state, but not the full thing).

tmleman
tmleman previously approved these changes Mar 21, 2023
softwarecki
softwarecki previously approved these changes Mar 21, 2023
Start using zephyr power management in cavs platform in a similar way
that is already done in ace. This commit only addresses the power off/on
sequence. Runtime power management is not implemented.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
kv2019i
kv2019i previously approved these changes Mar 23, 2023
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

Thanks @juimonen !

@nashif nashif merged commit 95168e6 into zephyrproject-rtos:main Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Xtensa Xtensa Architecture platform: Intel ADSP Intel Audio platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants