-
Notifications
You must be signed in to change notification settings - Fork 7.7k
lib: acpi: Enable poweroff feature #89915
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
base: main
Are you sure you want to change the base?
lib: acpi: Enable poweroff feature #89915
Conversation
6b2de1a
to
c422d09
Compare
Can this be integrated with zephyr/include/zephyr/sys/poweroff.h Line 44 in cf6170c
|
Need a shell command, but that option is not there for sys_poweroff so I chose this method. |
c422d09
to
89e67af
Compare
89e67af
to
3b25365
Compare
Enable system poweroff feature using ACPI. Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
3b25365
to
df7f9a4
Compare
Added support for sys_poweroff on ADL and ATOM socs based on acpi_poweroff. Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
Hi @JarmouniA, added support for sys_poweroff based on acpi based poweroff. Please review the changes. |
b4a6a95
to
7da3d33
Compare
|
Hi @JarmouniA, |
I'm not very familiar with x86 or ACPI, so my approval won't be of much value. |
Enable system power-off feature using ACPI by setting platform to S5 state.
Signed-off-by: Anisetti Avinash Krishna anisetti.avinash.krishna@intel.com