Integrate linux-imx-kuk/dual-espresso_custom-poweroff
-- Commit: seco-ne/kernel/linux-imx-kuk@65760c59 dts:dual-espresso: Add custom poweroff routine The power off routine monitors the PW_FAIL24V# signal. If the 24V are active or become active again while the system is in the custom power off routine, a restart is triggered. BCS 746-001083 -- Commit: seco-ne/kernel/linux-imx-kuk@858faf2e drivers:psci: Add possibility to skip the assignment of pm_power_off Since we need a custom poweroff routine for the dual-espresso project, pm_power_off must be assigned to a special function. pm_power_off is assigned to psci_sys_poweroff by default. Added a devicetree property that allows to skip the assignment of pm_power_off to avoid a potential race condition. BCS 746-001083 -- Commit: seco-ne/kernel/linux-imx-kuk@f005841e drivers:power: Add a custom poweroff module for dual-espresso The module monitors a gpio state and calls the kernel restart handler when the gpio has a specific state. This done by assigning a the monitor routine to the pm_power_off function pointer. In this way, the monitoring starts as the last step of a shutdown -P call. Devicetree properties: * init-delay-ms: Set an initial delay until the monitoring is started * monitor-delay-ms: Poll delay of the gpio BCS 746-001083
parent
42f9581c
No related branches found
No related tags found
Please register or sign in to comment