8e8ed07dd7
Listen to power button state via /dev/input/event0. When the power button is pressed, then set PWRBTN_STS bit. If PWRBTN_EN is set, the sci interrupt is triggered. For suspend or shutdown of UOS by power button, needs UOS to configure the default behavior of the power button. Tracked-On: #2560 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com> |
||
---|---|---|
.. | ||
pm.c |